QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#606731 | #8934. Challenge NPC | ITC_TL# | WA | 63ms | 5748kb | C++20 | 985b | 2024-10-03 11:52:08 | 2024-10-03 11:52:09 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define fore(i, l, r) for (ll i = (int)l; i <= (int)r; i++)
#define ford(i, r, l) for (ll i = (int)r; i >= (int)l; i--)
const int MAXN = 2123456LL;
ll T, n, m, k;
ll qi[MAXN], tot, ou[MAXN];
ll val[MAXN];
int main()
{
ios::sync_with_stdio(false);
cin.tie(0);
cin >> k;
ll cnt = 2;
qi[++tot] = 1;
ou[tot] = 2;
cout << 1022 << " " << 260610 << endl;
fore(i, 1, 1022)
{
if (i % 2 == 1)
cout << "1 ";
else
cout << "2 ";
}
cout << endl;
while (tot <= 510)
{
cnt++;
fore(i, 1, tot)
{
cout << ou[i] << " " << cnt << endl;
m++;
}
cnt++;
fore(i, 1, tot)
{
cout << qi[i] << " " << cnt << endl;
m++;
}
qi[++tot] = cnt - 1;
ou[tot] = cnt;
}
return 0;
}
詳細信息
Test #1:
score: 0
Wrong Answer
time: 63ms
memory: 5748kb
input:
1
output:
1022 260610 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 2 ...
result:
wrong answer Integer parameter [name=col] equals to 2, violates the range [1, 1]