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 1414. Astronomical Database

Why WA#1?
Posted by Neizvestnii 25 May 2007 18:39
I think that my program is corect, but WA#1, WHY???
I print 2 spase before every star
Before work, base have one star-'sun'
Sample and my easy test is work correct
I use sort and binary search
I don't know, why my program have WA#1, please help!!!!

Edited by author 25.05.2007 18:40
Re: Why WA#1?
Posted by partisan 14 Nov 2008 22:56
Try this
+b1
+b2
+b3
+a1
?b

Output is
b
  b1
  b2
  b3