QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#604757 | #8934. Challenge NPC | ucup-team4352# | WA | 22ms | 3736kb | C++23 | 611b | 2024-10-02 13:46:03 | 2024-10-02 13:46:04 |
Judging History
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 261633 2\n";
for(int i=1;i<=1024;i++){
cout<<((i&1)?1:2)<<" ";
}
cout<<"\n";
int cnt=0;
for(int i=1;i<=1024;i++){
if(i&1)
for(int j=i-3;j>=1;j-=2){
cout<<j<<" "<<i<<"\n";
}
else
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: 22ms
memory: 3736kb
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 answer The graph is not correct