35 人解决,37 人已尝试。
38 份提交通过,共有 56 份提交。
2.9 EMB 奖励。
单点时限: 8.0 sec
内存限制: 256 MB
The sequence of
Your mission is to write a program to calculate, for a given positive integer
The input is a sequence of lines each of which contains a single positive integer. Each positive integer is greater than
The output should be composed of lines each of which contains a single non-negative integer. It is the length of the prime gap that contains the corresponding positive integer in the input if it is a composite number, or
10 11 27 2 492170 0
4 0 6 0 114
35 人解决,37 人已尝试。
38 份提交通过,共有 56 份提交。
2.9 EMB 奖励。