用户输出
-922727816
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#88709 | #1072. zzy与飞行棋 | Wrong Answer | 18 | 34 ms | 352 K | C++ / 390 B | 是唯一指定菜菜飞舞捏 | 2023-05-11 12:38:21 |
#include <iostream>
using namespace std;
int main() {
long int n;
cin >> n;
int t = 6;
if (n == 1) {
cout << t << endl;
} else if (n == 2) {
t = t + 6;
cout << t << endl;
} else if (n == 3) {
t = t + 18;
cout << t << endl;
} else {
t = 24;
int i = 4;
for (i = 4; i <= n; i++) {
if (i % 2 != 0) {
t = t + 6 * (i - 1);
} else {
t = t + 6 * (i - 2);
}
}
cout << t << endl;
}
return 0;
}
用户输出
-922727816
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
-731103132
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
1451996292
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
1363973804
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
1242673932
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
-2054673732
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
-2132624628
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
481493004
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
1394246412
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0