This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "grader.h"
#include "memory.h"
#include <bits/stdc++.h>
using namespace std;
map< char, vector<char> > card;
void play() {
const int N = 50;
for (int i = 0; i < N; i += 2) {
char cur = faceup(i + 1);
char nxt = faceup(i + 1 + 1);
card[cur].emplace_back(i + 1);
card[nxt].emplace_back(i + 1 + 1);
}
for (auto to : card) {
int A = to.second[0];
int B = to.second[1];
faceup(A);
faceup(B);
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |