QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#610789 | #6418. Ah, It's Yesterday Once More | gates_orz | WA | 1ms | 3620kb | C++20 | 1.3kb | 2024-10-04 17:25:16 | 2024-10-04 17:25:17 |
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]= "00000000000000000000";
s[2]= "11110111111111110111";
s[3]= "00000000000000000000";
s[4]= "11111111111111110111";
s[5]= "00000000000000000000";
s[6]= "11111011111111111111";
s[7]= "00000000000000000000";
s[8]= "10111111111111111111";
s[9]= "00000000000000000000";
s[10]="10111101111011101110";
s[11]="00000000000000000000";
s[12]="01111111111111111111";
s[13]="00000000000000000000";
s[14]="11101111111111111111";
s[15]="00000000000000000000";
s[16]="11111111111111011111";
s[17]="00000000000000000000";
s[18]="11111111111111111101";
s[19]="00000000000000000000";
s[20]="01010111010110101111";
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
*/
詳細信息
Test #1:
score: 0
Wrong Answer
time: 1ms
memory: 3620kb
input:
output:
20 20 11111111111111111111 00001000000000001000 11111111111111111111 00000000000000001000 11111111111111111111 00000100000000000000 11111111111111111111 01000000000000000000 11111111111111111111 01000010000100010001 11111111111111111111 10000000000000000000 11111111111111111111 00010000000000000000 ...
result:
wrong answer Cycle Detected.