5 人解决,19 人已尝试。
6 份提交通过,共有 283 份提交。
8.8 EMB 奖励。
单点时限: 0.5 sec
内存限制: 256 MB
In the beginning, there were no primes, or numbers. And God said, “let there be numbers,” and there were numbers. God thought that it might be a beautiful thing to have some of these numbers added up, and he called some of the sums “primes”.
Some scholars argued that there should be no more than
If the legend somehow confuses you, here is a more formal version:
Find out the smallest positive integer
The input only consists of one line
Output the smallest
Then output
2
1 2
5
2 2 3
10
3 2 1 4
Explanation of example 3: primes no larger than
Hint: The time limit is deliberately set to be very tight.
5 人解决,19 人已尝试。
6 份提交通过,共有 283 份提交。
8.8 EMB 奖励。