QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#610762#6418. Ah, It's Yesterday Once MorestavageWA 1ms3532kbC++201.6kb2024-10-04 17:19:042024-10-04 17:19:07

Judging History

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

  • [2024-10-04 17:19:07]
  • 评测
  • 测评结果:WA
  • 用时:1ms
  • 内存:3532kb
  • [2024-10-04 17:19:04]
  • 提交

answer

#pragma GCC optimize(2)
#include <bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef long double LD;
#define int LL
#define double LD
typedef pair<int, int> PII;
const int N = 1e5 + 5;
const int INF = 0x3f3f3f3f;
const int inf = 0x3f3f3f3f3f3f3f3f;
const double PI = acosl(-1.0);
const double eps = 1e-8;
const int MOD = 1e9 + 7;

void solve()
{
    cout << 20 << " " << 20 << endl;
    vector<string> s(21);
    s[1] = "00000000000000000000";
    s[2] = "11111111111111111110";
    s[3] = "10000000000000000010";
    s[4] = "10111111111111111010";
    s[5] = "10100000000000001010";
    s[6] = "10101111111111101010";
    s[7] = "10101000000000101010";
    s[8] = "10101011111110101010";
    s[9] = "10101010000010101010";
    s[10] = "10101010111010101010";
    s[11] = "10101010101010101010";
    s[12] = "10101010100010101010";
    s[13] = "10101010111110101010";
    s[14] = "10101010000000101010";
    s[15] = "10101011111111101010";
    s[16] = "10101000000000001010";
    s[17] = "10101111111111111010";
    s[18] = "10100000000000000010";
    s[19] = "10111111111111111110";
    s[20] = "10000000000000000000";
    for (int i = 1; i <= 20; i++) {
        for (int j = 0; j < 20; j++) {
            if (s[i][j] == '0') cout << '1';
            else
                cout << '0';
        }
        cout << endl;
    }
}
signed main()
{
    ios::sync_with_stdio(false), cin.tie(0);
    cout << fixed << setprecision(15);
    int _;
    // cin >> _;
    _ = 1;
    while (_--) {
        solve();
    }
    return 0;
}

详细

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 3532kb

input:



output:

20 20
11111111111111111111
00000000000000000001
01111111111111111101
01000000000000000101
01011111111111110101
01010000000000010101
01010111111111010101
01010100000001010101
01010101111101010101
01010101000101010101
01010101010101010101
01010101011101010101
01010101000001010101
01010101111111010101
...

result:

wrong answer 62 successful hack.