QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#610768#6418. Ah, It's Yesterday Once MorestavageAC ✓0ms3616kbC++201.3kb2024-10-04 17:20:012024-10-04 17:20:05

Judging History

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

  • [2024-10-04 17:20:05]
  • 评测
  • 测评结果:AC
  • 用时:0ms
  • 内存:3616kb
  • [2024-10-04 17:20:01]
  • 提交

answer

#include <iostream>
#include <algorithm>
#include <cstring>
#include <vector>
#include <unordered_set>
#include <math.h>
using namespace std;
 
typedef long long ll;
typedef pair<int, int> PII;
 
#define endl '\n'
#define fi first
#define se second
#define push_back
#define rep(i, l, r) for (ll i = l; i <= r; i ++ )

void solve()
{
    cout << 20 << ' ' << 20 << endl;
    
    string s[20] = {
        {"11011100011100011111"},
        {"10110100110100110101"},
        {"11101101101101101101"},
        {"10011011011011011010"},
        {"00110110110110110111"},
        {"01101101101101101101"},
        {"11011011011011011011"},
        {"10110110110110110110"},
        {"11101101101101101101"},
        {"10011011011011011001"},
        {"10110110110110110111"},
        {"01101101101101101101"},
        {"11011011011011011011"},
        {"10110110110110110110"},
        {"11101101101101101101"},
        {"10011011011011011001"},
        {"00110110110110110111"},
        {"11101101101101101101"},
        {"10011001011001011011"},
        {"11110111110111110110"}
    };
    
    for (int i = 0; i < 20; i ++ ) cout << s[i] << endl;
}
 
int main()
{
    cin.tie(nullptr) -> sync_with_stdio(false);
    
//     int _;
//     cin >> _;
//     while (_ -- )
        solve();

    return 0;
}



Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3616kb

input:



output:

20 20
11011100011100011111
10110100110100110101
11101101101101101101
10011011011011011010
00110110110110110111
01101101101101101101
11011011011011011011
10110110110110110110
11101101101101101101
10011011011011011001
10110110110110110111
01101101101101101101
11011011011011011011
10110110110110110110
...

result:

ok 144 successful hack.