QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#539302 | #8934. Challenge NPC | ucup-team3699# | WA | 17ms | 3648kb | C++14 | 702b | 2024-08-31 14:27:32 | 2024-08-31 14:27:33 |
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; i++){
if(i & 1){
cout << 1 << ' ';
}else{
cout << 2 << ' ';
}
}
cout << '\n';
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;
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: 17ms
memory: 3648kb
input:
1
output:
1006 253009 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 output format Unexpected end of file - int32 expected