QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#777829 | #9797. Who Am I? | Willis | AC ✓ | 1ms | 3644kb | C++14 | 2.0kb | 2024-11-24 10:09:09 | 2024-11-24 10:09:09 |
Judging History
answer
#ifdef local
#pragma GCC optimize(1)
#pragma GCC optimize(2)
#pragma GCC optimize(3)
#endif
// #pragma comment(linker, "/STACK:102400000,102400000")
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <chrono>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <deque>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <random>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <vector>
#ifndef local
#define endl '\n'
#endif
#define pb emplace_back
#define fi first
#define se second
#define rep(i, l, r) for (long long i = l; i <= r; i++)
#define IOS ios::sync_with_stdio(0), cin.tie(0), cout.tie(0)
#define mem(a, x) memset(a, x, sizeof(a))
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
typedef double db;
typedef pair<int, int> P;
typedef pair<P, int> PP;
const double pi = acos(-1);
typedef __int128_t int128;
const db eps = 1e-9;
std::mt19937_64 rng(time(0));
ll my_random(ll l, ll r)
{
uniform_int_distribution<int> range(l, r);
return range(rng);
}
void __()
{
#ifdef local
system("pause");
#endif
}
ll qp(ll a, ll b, ll mod)
{
ll ans = 1;
while (b)
{
if (b & 1)
ans = ans * a % mod;
a = a * a % mod;
b >>= 1;
}
return ans;
}
const int maxn = 300 + 10;
const ll mod = 1e9 + 7;
string s[] = {
".##...#.....##.",
".###.####..###.",
"#.#.#######.#.#",
"#.#..#####..#.#",
"#..#...###.#..#",
"#.###...#.###.#",
".#.###.#.###.#.",
".#....###....#.",
".#..#..#..#..#.",
"..#.#.....#.#..",
".#.....#.....#.",
"..###....#..#..",
".##.##.##..#.#.",
".#.#.#..####...",
".#...#.#....###",
};
int main()
{
IOS;
for (int i = 0; i < 15; i++)
cout << s[i] << endl;
__();
return 0;
}
詳細信息
Test #1:
score: 100
Accepted
time: 1ms
memory: 3644kb
input:
output:
.##...#.....##. .###.####..###. #.#.#######.#.# #.#..#####..#.# #..#...###.#..# #.###...#.###.# .#.###.#.###.#. .#....###....#. .#..#..#..#..#. ..#.#.....#.#.. .#.....#.....#. ..###....#..#.. .##.##.##..#.#. .#.#.#..####... .#...#.#....###
result:
ok match puzzle 3 sulfox