Help with Runtime Error — line sweep problem

Правка en2, от rick_sanchez_c-137, 2017-07-08 22:01:46

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!

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en12 Английский rick_sanchez_c-137 2017-08-10 20:31:37 23
en11 Английский 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 Английский rick_sanchez_c-137 2017-07-31 02:32:35 17 (saved to drafts)
en9 Английский rick_sanchez_c-137 2017-07-29 19:56:26 30
en8 Английский 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 Английский rick_sanchez_c-137 2017-07-27 23:13:15 43
en6 Английский rick_sanchez_c-137 2017-07-27 01:03:19 50
en5 Английский 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 Английский 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 Английский rick_sanchez_c-137 2017-07-26 05:55:36 554
en2 Английский rick_sanchez_c-137 2017-07-08 22:01:46 53
en1 Английский rick_sanchez_c-137 2017-07-08 07:07:38 820 Initial revision (published)