Please help!

Revision en1, by code_hard123, 2016-06-30 10:34:50

Hi all,

My solution to problem http://mirror.codeforces.com/contest/688/problem/D

gave RuntimeError when i took array input before and then processed.

But the same code gave AC when I processed simultaenously while taking input.

I have no idea why the first code gave runtime error :(

RUNTIME ERROR CODE- http://mirror.codeforces.com/contest/688/submission/18818380

AC CODE — http://mirror.codeforces.com/contest/688/submission/18818424

Thank you :))

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English code_hard123 2016-06-30 10:34:50 469 Initial revision (published)