ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1347. Blog

WA#7
Posted by ftc 23 Jul 2006 00:53
I 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.
Test for you
Posted by Walrus 11 Sep 2006 18:17
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:
Re: Test for you
Posted by ftc 16 Oct 2006 19:26
My program passes this test, so I think bug is somewhere else. But in any case, thanks.