이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using ull = unsigned long long;
constexpr bool typetest = 0;
constexpr int N = 4e5 + 2;
#include "grader.h"
#include "memory.h"
void play()
{
vector<int> a[50];
for (int i = 1; i <= 50; i += 2)
{
int x = faceup(i) - 'A',
y = faceup(i + 1) - 'A';
a[x].emplace_back(i);
a[y].emplace_back(i + 1);
if (x == y)
a[x].clear();
}
for (int i = 0; i < 25; ++i)
if (!a[i].empty())
{
faceup(a[i][0]);
faceup(a[i][1]);
}
}
| # | Verdict | Execution time | Memory | Grader output |
|---|
| Fetching results... |
| # | Verdict | Execution time | Memory | Grader output |
|---|
| Fetching results... |