Line sweep problem — unexpected Runtime Error

Revision en1, by rick_sanchez_c-137, 2017-07-08 07:07:38

Hello!

Regarding this line sweep problem with the editorial here my submission is getting run time error. This is strange because I downloaded all the test cases from the oficial contest site for this problem and the last test case (and only the last) seems to be different — given correct answer for me in my computer and RTE online.

(I know that the problem could not give runtime error in my computer but do so in online judge, but I try to identify the last test case by printing 0 and exiting 0 before running the algorithm and, instead of wrong answer I keep getting runtime error)

Can someone spot any mistake in my code?

Thanks a lot in advance!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en12 English rick_sanchez_c-137 2017-08-10 20:31:37 23
en11 English rick_sanchez_c-137 2017-08-01 21:00:00 29 Tiny change: 'in my code?\n\nTha' -> 'in my code I possibly made?\n\nTha' (published)
en10 English rick_sanchez_c-137 2017-07-31 02:32:35 17 (saved to drafts)
en9 English rick_sanchez_c-137 2017-07-29 19:56:26 30
en8 English rick_sanchez_c-137 2017-07-28 05:09:55 813 Tiny change: 'ontinue;" I get WA ' -> 'ontinue;" in line 180 I get WA '
en7 English rick_sanchez_c-137 2017-07-27 23:13:15 43
en6 English rick_sanchez_c-137 2017-07-27 01:03:19 50
en5 English rick_sanchez_c-137 2017-07-27 00:30:56 22 Tiny change: 'time error. I contac' -> 'time error on the last test case. I contac'
en4 English rick_sanchez_c-137 2017-07-27 00:26:21 81 Tiny change: 'attis.com/submissions/1920435) with the' -> 'attis.com/problems/pinball) with the'
en3 English rick_sanchez_c-137 2017-07-26 05:55:36 554
en2 English rick_sanchez_c-137 2017-07-08 22:01:46 53
en1 English rick_sanchez_c-137 2017-07-08 07:07:38 820 Initial revision (published)