QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#539219 | #8934. Challenge NPC | ucup-team3699# | WA | 13ms | 3712kb | C++14 | 573b | 2024-08-31 14:17:23 | 2024-08-31 14:17:23 |
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 + 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;
cout << x << ' ' << y << '\n';
for(int j = 1; j < i; j++){
int u = j * 2 - 1, v = j * 2;
cout << x << ' ' << v << '\n';
cout << y << ' ' << u << '\n';
}
}
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 13ms
memory: 3712kb
input:
1
output:
1006 253009 2 1 2 3 4 3 2 4 1 5 6 5 2 6 1 5 4 6 3 7 8 7 2 8 1 7 4 8 3 7 6 8 5 9 10 9 2 10 1 9 4 10 3 9 6 10 5 9 8 10 7 11 12 11 2 12 1 11 4 12 3 11 6 12 5 11 8 12 7 11 10 12 9 13 14 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 16 15 2 16 1 15 4 16 3 15 6 16 5 15 8 16 7 15 10 16 ...
result:
wrong answer Integer parameter [name=col] equals to 3, violates the range [1, 2]