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 1106. Two Teams

Crash #10
Posted by <<--Falcon-->> 25 Nov 2011 19:05
what could test #10 be?
Re: Crash #10
Posted by <<--Falcon-->> 25 Nov 2011 20:15
Finally, I found the reason of the crash!!!
I supposed the input numbers were separated only by a single space but I was wrong.
Hope, this info will help you to avoid the same mistake :)
Re: Crash #10
Posted by sbidujko 16 Feb 2012 22:02
I had got WA#10, but it was because i made a stupid mistake in code and program didn't read all strings of input.This task is really simple because it is O(n) and you shouldn't use any graphs!