Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 3
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#103440 | #105. zxh的继承顺位 | Wrong Answer | 0 | 4264 ms | 336 K | C++ 11 / 428 B | 西安交通大学 | 2024-03-18 15:53:55 |
#include <iostream>
#include <iomanip>
using namespace std;
int main() {
int n = 0;
int flag = 1;
int i, j;
cin >> n;
if (n == 1)
return 2;
for (i = 3;; i++) {
for (j = 2; j < i; j++) {
if (i % j == 0) {
break;
}
}
if (j == i)
flag++;
if (flag == n)
break;
}
return i;
}
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 3
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 29
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 9
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 81
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 91
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 225
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 7
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 189
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 97
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 75
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 33
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 131
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 51
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 15
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 35
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 65