QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#604744#8934. Challenge NPCucup-team4352#WA 19ms3676kbC++23520b2024-10-02 13:40:122024-10-02 13:40:13

Judging History

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

  • [2024-10-02 13:40:13]
  • 评测
  • 测评结果:WA
  • 用时:19ms
  • 内存:3676kb
  • [2024-10-02 13:40:12]
  • 提交

answer

#include<bits/stdc++.h>
#define ll long long
#define pii pair<ll,ll>
#define lowbit(x) (x&-x)
#define log(x) (31^__builtin_clz(x))
using namespace std;

void solve(){
	cout<<"1024 262144 2\n";
	for(int i=1;i<=1024;i++){
		cout<<((i&1)?1:2)<<" ";
	}
	cout<<"\n";
	for(int i=1;i<=1024;i++){
		for(int j=i-1;j>=1;j-=2){
			cout<<j<<" "<<i<<"\n";
		}
	}
}
int main(){
    ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
    int t=1;
    //cin>>t;
    while(t--)solve();
    return 0;
}
/*

*/

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 19ms
memory: 3676kb

input:

1

output:

1024 262144 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 answer The graph is not correct