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

Память
Posted by artxc 12 Oct 2016 22:55
Как узнать заранее, сколько выделять ячеек для решета?
Re: Память
Posted by ToadMonster 13 Oct 2016 13:44
> Then k positive integers follow (one in each line). The numbers don't exceed 15000.

So you will be asked for not more then 15000th prime. You can find it by brute force, by some prime table etc.
My AC program thinks it is 163841.