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 1574. Mathematicians and brackets

Problem 1574 "Mathematicians and brackets" has been rejudged (+)
Posted by Sandro (USU) 2 May 2009 12:31
New tricky test was added. All AC submits were rejudged. 31 authors lost AC. Thanks to Fyodor Menshikov, author of this test.
Re: Problem 1574 "Mathematicians and brackets" has been rejudged (+)
Posted by Fire 2 May 2009 12:34
The new test data contain input that doesn't end the line with a '\n'.
My former submission got TLE only because it ends when getchar() == '\n', and I got AC again by changing it to gets() only.
Re: Problem 1574 "Mathematicians and brackets" has been rejudged (+)
Posted by Alexander Georgiev 5 May 2009 06:26
The test doesn't end with new line indeed. My rejudged solution (from AC to WA) used fgets() and failed just because of that.
Fixed. (-)
Posted by Sandro (USU) 5 May 2009 10:10