QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#735329 | #8041. Life is Hard and Undecidable, but... | medicos | WA | 0ms | 3664kb | C++17 | 264b | 2024-11-11 19:15:46 | 2024-11-11 19:15:47 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
signed main() {
ios::sync_with_stdio(0), cin.tie(0);
int n;
cin >> n;
cout << 2 * n - 1 << "\n";
for (int i = 1; i < 1 + 2 * n - 1; ++i) {
cout << i << " " << 1 << "\n";
}
return 0;
}
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 3648kb
input:
1
output:
1 1 1
result:
ok n=1
Test #2:
score: -100
Wrong Answer
time: 0ms
memory: 3664kb
input:
2
output:
3 1 1 2 1 3 1
result:
wrong answer Alive at generation 2