QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#540269 | #8934. Challenge NPC | ucup-team3734# | WA | 22ms | 3632kb | C++23 | 548b | 2024-08-31 16:47:34 | 2024-08-31 16:47:34 |
Judging History
answer
#include "bits/stdc++.h"
using namespace std;
using ll = long long;
using ld = long double;
#define all(x) (x).begin(), (x).end()
int main() {
#ifndef ONLINE_JUDGE
freopen("c.in", "r", stdin);
#endif
ios_base::sync_with_stdio(false);
int n = 1024;
int m = (n / 2) * (n / 2), c = 2;
cout << n << " " << m << " " << c << "\n";
for (int i = 0; i < n; ++i)
cout << ((i % 2) + 1) << " ";
cout << "\n";
for (int u = 0; u < n; u += 2)
for (int v = 1; v < n; v += 2)
cout << u + 1 << " " << v + 1 << "\n";
return 0;
}
详细
Test #1:
score: 0
Wrong Answer
time: 22ms
memory: 3632kb
input:
1
output:
1024 262144 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 ...
result:
wrong answer The graph is not correct