Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 4
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#103443 | #105. zxh的继承顺位 | Wrong Answer | 0 | 70 ms | 500 K | C++ 11 / 452 B | 西安交通大学 | 2024-03-18 16:01:36 |
#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;
i = 3;
while (flag < n) {
for (j = 2; j < i; j++) {
if (i % j == 0) {
break;
}
}
if (j == i)
flag++;
if (flag == n)
break;
i++;
}
return 4;
}
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 4
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 4
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 4
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 4
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 4
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 4
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 4
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 4
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 4
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 4
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 4
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 4
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 4
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 4
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 4
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 4
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 4
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 4
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 4