QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#294171#6418. Ah, It's Yesterday Once Moregeorgeyucjr#AC ✓0ms3744kbC++231.9kb2023-12-30 09:00:572023-12-30 09:00:58

Judging History

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

  • [2023-12-30 09:00:58]
  • 评测
  • 测评结果:AC
  • 用时:0ms
  • 内存:3744kb
  • [2023-12-30 09:00:57]
  • 提交

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.