QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#550206 | #8934. Challenge NPC | Suntianhe | WA | 68ms | 3692kb | C++14 | 349b | 2024-09-07 10:47:11 | 2024-09-07 10:47:14 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
int main(){
int k;
cin>>k;
cout<<1024<<' '<<261633<<' '<<2<<endl;
for(int i=1;i<=1024;i++){
if(i%2) cout<<1<<' ';
else cout<<2<<' ';
}
cout<<endl;
for(int i=1;i<=1023;i+=2){
for(int j=2;j<=1024;j+=2){
if(j==i+1) continue;
cout<<i<<' '<<j<<endl;
}
}
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 68ms
memory: 3692kb
input:
1
output:
1024 261633 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