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 1352. Mersenne Primes

Problem in condition! For admins.
Posted by [SESC USU] Zhirov Eugene 13 Feb 2010 22:36
In the first string of condition: "For example, 2^2−1 — the first Mersenne prime".
So, the first Mersenne prime is 2^2-1 = 3.

Then, in the sample we read:
18   -   3217

But, if so, the first Mersenne prime is 2, not 3, so, for the test

1
1

the program should output 2, not 3.