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 "memory.h"
#include "grader.h"
#include <array>
#include <vector>
using namespace std;
void play() {
const int n = 25;
array<vector<int>, n> idx;
for (int i = 1; i <= n; ++i) {
char c = faceup(i);
idx[c - 'A'].emplace_back(i);
}
for (int i = 0; i < (int)idx.size(); ++i) {
faceup(idx[i][0]), faceup(idx[i][1]);
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |