Page 4 of 4

Re: 10963 - The Swallowing Ground

Posted: Mon Dec 08, 2014 10:32 am
by moxlotus

Code: Select all

AC
Still Getting wrong ans after reading all the posts here. Can someone give me the critical case that i did not cover?

Re: 10963 - The Swallowing Ground

Posted: Mon Dec 08, 2014 10:56 pm
by brianfry713
You are resetting diff to 2000000000 at every column.
You will also need to continue reading the input all the way to the end even if the gaps don't match.

Re: 10963 - The Swallowing Ground

Posted: Thu Dec 11, 2014 2:15 pm
by moxlotus
brianfry713 wrote:You are resetting diff to 2000000000 at every column.
You will also need to continue reading the input all the way to the end even if the gaps don't match.
oops... silly mistake. D=