ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1086. Cryptography

If your program calculate enough fast for big input and u don't know why you have WA 2, then check it:
Posted by IlushaMax 6 Apr 2016 01:55
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.