|
|
back to boardDiscussion of Problem 1347. BlogI have WA on test #7. I read about thing that blogger is not friend of himself. My program gives correct answer in this case. There is a phrase in the statement, that we need to sort list alphabetically. So i have a question. if the list has three items "A" "a" and "_" which order we need to output? Could somebody help me? Thanks beforehand. Input: 3 a <blog> <friend>c</friend> </blog> b <blog> <friend>b</friend> </blog> c <blog></blog> Output: a 1: c 2: 3: b 1: 2: 3: c 1: 2: a 3: My program passes this test, so I think bug is somewhere else. But in any case, thanks. |
|
|