Пожалуйста, подпишитесь на официальный канал Codeforces в Telegram по ссылке https://t.me/codeforces_official. ×

UVA Problem issue

Правка en4, от chubakueno, 2015-09-26 23:19:19

I have been trying to do UVA "Ahoy, Pirates!" but it seems there is an error somewhere. I have downloaded code that gives AC to test against my solution on test cases generated by a program I wrote](gives RE in ideone because of long output) and compared the outputs with WinMerge, only to see that they are identical.

One curious thing I noted was that changing M from 101 to 301 in the code converts the Wrong Answer into a Runtime Error, which baffles me. Would you please help me in finding the error in my code, or is there an error somewhere else?

Edit: Ran it through the test cases generated by my generator using VS 2012 compilation with array bounds checking, not a single error reported.

Теги uva

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en4 Английский chubakueno 2015-09-26 23:19:19 44
en3 Английский chubakueno 2015-09-26 23:10:36 148
en2 Английский chubakueno 2015-09-26 22:48:14 29
en1 Английский chubakueno 2015-09-26 22:46:54 696 Initial revision (published)