QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#610868 | #6418. Ah, It's Yesterday Once More | gates_orz | WA | 1ms | 3760kb | C++20 | 1.4kb | 2024-10-04 17:50:22 | 2024-10-04 17:50:23 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
//int n,m,k;
int n,m;
const int N=1e6+10,M=5e3,mod=998244353;
int sa[N];
void solve() {
n=20,m=20;
vector<string>s(21);
s[1]= "11111111111111111111";
s[2]= "00000001000000000000";
s[3]= "11111111111111111111";
s[4]= "00000000100000000000";
s[5]= "11111111111111111111";
s[6]= "00000000010000000000";
s[7]= "11111111111111111111";
s[8]= "00000000001000000000";
s[9]= "11111111111111111111";
s[10]="00000000000100000000";
s[11]="11111111111111111111";
s[12]="00000000001000000000";
s[13]="11111111111111111111";
s[14]="00000000100000000000";
s[15]="11111111111111111111";
s[16]="00000000010000000000";
s[17]="11111111111111111111";
s[18]="00000000001000000000";
s[19]="11111111111111111111";
s[20]="10000000010000000000";
cout<<n<<" "<<m<<"\n";
/*for(int i=1;i<=n;i++) {
for(int j=0;j<m;j++) {
if(s[i][j]=='1')s[i][j]='0';
else s[i][j]='1';
}
}*/
for(int i=1;i<=n;i++) {
cout<<s[i]<<"\n";
}
}
signed main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
int T=1;
//cin>>T;
while(T--)solve();
return 0;
}
/*
1
6 8
1 2 5 3 4 7
2 4 1 4 3 4 2 5
1
12323 34534534534 45
*/
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 1ms
memory: 3760kb
input:
output:
20 20 11111111111111111111 00000001000000000000 11111111111111111111 00000000100000000000 11111111111111111111 00000000010000000000 11111111111111111111 00000000001000000000 11111111111111111111 00000000000100000000 11111111111111111111 00000000001000000000 11111111111111111111 00000000100000000000 ...
result:
wrong answer 0 successful hack.