QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#550206#8934. Challenge NPCSuntianheWA 68ms3692kbC++14349b2024-09-07 10:47:112024-09-07 10:47:14

Judging History

你现在查看的是最新测评结果

  • [2024-09-07 10:47:14]
  • 评测
  • 测评结果:WA
  • 用时:68ms
  • 内存:3692kb
  • [2024-09-07 10:47:11]
  • 提交

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