QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#294171 | #6418. Ah, It's Yesterday Once More | georgeyucjr# | AC ✓ | 0ms | 3744kb | C++23 | 1.9kb | 2023-12-30 09:00:57 | 2023-12-30 09:00:58 |
Judging History
answer
# include <bits/stdc++.h>
using namespace std;
# define ll long long
# define ull unsigned long long
# define rep(i, f, t, ...) for (int i = f, ##__VA_ARGS__; i <= t; ++i)
# define red(i, f, t, ...) for (int i = f, ##__VA_ARGS__; i >= t; --i)
# define emb emplace_back
# define pb push_back
# define pii pair<int, int>
# define mkp make_pair
# define arr3 array<int, 3>
# define arr4 array<int, 4>
# define FILEIO(filename) freopen (filename".in", "r", stdin), freopen (filename ".out", "w", stdout)
# define ALL(vc) vc.begin ( ), vc.end ( )
# define N
template < class T > constexpr static T inf = numeric_limits < T > :: max ( ) / 2;
# ifndef __GEORGEYUCJR_READ__
# ifdef MACOS
# include "/Users/yzw/GeorgeYuOI/codes/cpp/georgeyucjr/debug/debug.hpp"
using namespace georgeyucjr;
# else
# define write(...) void(36)
# define bug(...) void(36)
# endif
# else
# warning Do not use debug.hpp.
# endif
bool Mst;
const string ANS[20] = {
"11101111101111101111",
"10110010110010110010",
"11011011011011011011",
"01101101101101101101",
"10110110110110110111",
"10011011011011011001",
"11101101101101101101",
"10110110110110110110",
"11011011011011011011",
"01101101101101101101",
"10110110110110110111",
"10011011011011011001",
"11101101101101101101",
"10110110110110110110",
"11011011011011011011",
"01101101101101101101",
"10110110110110110111",
"10011011011011011001",
"11101001101001101001",
"10111110111110111110",
};
bool Med;
signed main() {
ios_base :: sync_with_stdio ( false ), cin.tie ( nullptr ), cout.tie (nullptr);
cout << 20 << " " << 20 << endl; for(auto i : ANS) cout << i << endl;
# ifdef MACOS
cerr << "Memory & Time Information : " << endl;
cerr << "Memory : " << ( ( &Med ) - ( &Mst ) ) * 1. / 1024. / 1024. << "MB" << endl;
cerr << "Time : " << clock ( ) * 1. / CLOCKS_PER_SEC * 1000. << "ms" << endl;
# endif
return 0;
}
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 3744kb
input:
output:
20 20 11101111101111101111 10110010110010110010 11011011011011011011 01101101101101101101 10110110110110110111 10011011011011011001 11101101101101101101 10110110110110110110 11011011011011011011 01101101101101101101 10110110110110110111 10011011011011011001 11101101101101101101 10110110110110110110 ...
result:
ok 159 successful hack.