|
|
back to boardIf your program calculate enough fast for big input and u don't know why you have WA 2, then check it: Input can be such as this one: 14000( more than 225) (This problem can be on Pascal where there is byte type) 15000 14999 14888 14777 14666 .... 12313 So you should to change type for variable storing a number of tests) Edited by author 06.04.2016 02:16 Re: If your program calculate enough fast for big input and u don't know why you have WA 2, then check it: Posted by Leon 31 Aug 2016 02:08 Thanks. It seems like test #2 contains 15001 numbers, so you need be careful and create input array of such size. |
|
|