QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#610787#6418. Ah, It's Yesterday Once Moregates_orzWA 0ms3520kbC++201.3kb2024-10-04 17:24:052024-10-04 17:24:06

Judging History

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

  • [2024-10-04 17:24:06]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3520kb
  • [2024-10-04 17:24:05]
  • 提交

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]= "01111111101111111111";
    s[2]= "01000000101100000011";
    s[3]= "01000000101100000011";
    s[4]= "01000000101100000011";
    s[5]= "01000000100000000011";
    s[6]= "01111110100101111111";
    s[7]= "01000000000100000011";
    s[8]= "01111111110111101111";
    s[9]= "00000000110100000000";
    s[10]="10000000110100000000";
    s[11]="10000000110111111110";
    s[12]="11110111110001111110";
    s[13]="11110110000101111110";
    s[14]="11000000100100000010";
    s[15]="11100000100100000110";
    s[16]="11000000100100000010";
    s[17]="11000000100100000010";
    s[18]="11011110100101111010";
    s[19]="11000000100100000010";
    s[20]="11111111100001111110";
    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: 0ms
memory: 3520kb

input:



output:

20 20
10000000010000000000
10111111010011111100
10111111010011111100
10111111010011111100
10111111011111111100
10000001011010000000
10111111111011111100
10000000001000010000
11111111001011111111
01111111001011111111
01111111001000000001
00001000001110000001
00001001111010000001
00111111011011111101
...

result:

wrong answer Cycle Detected.