QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#539181 | #8934. Challenge NPC | ucup-team3699# | WA | 17ms | 3576kb | C++14 | 550b | 2024-08-31 14:13:03 | 2024-08-31 14:13:05 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
typedef long long LL;
int main(){
ios::sync_with_stdio(0);
cin.tie(0);
int k;
cin >> k;
LL n = 1006, m = 502 * 503, c = 2;
cout << n << ' ' << m << ' ' << c << '\n';
int cnt = 0;
for(int i = 1; i <= n / 2; i++){
int x = i * 2 - 1, y = i * 2;
for(int j = 1; j < i; j++){
int u = j * 2 - 1, v = j * 2;
cnt += 2;
cout << x << ' ' << v << '\n';
cout << y << ' ' << u << '\n';
}
}
}
詳細信息
Test #1:
score: 0
Wrong Answer
time: 17ms
memory: 3576kb
input:
1
output:
1006 252506 2 3 2 4 1 5 2 6 1 5 4 6 3 7 2 8 1 7 4 8 3 7 6 8 5 9 2 10 1 9 4 10 3 9 6 10 5 9 8 10 7 11 2 12 1 11 4 12 3 11 6 12 5 11 8 12 7 11 10 12 9 13 2 14 1 13 4 14 3 13 6 14 5 13 8 14 7 13 10 14 9 13 12 14 11 15 2 16 1 15 4 16 3 15 6 16 5 15 8 16 7 15 10 16 9 15 12 16 11 15 14 16 13 17 2 18 1 17 ...
result:
wrong answer Integer parameter [name=col] equals to 3, violates the range [1, 2]