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;
void play() {
map<char, vector<int>> ind;
for (int i = 1; i < 51; ++i) {
char cur = faceup(i);
ind[cur].push_back(i);
}
for (auto i : ind) {
for (int j : i.second) {
faceup(j);
}
}
}
#ifdef DEBUG
int main() {
play();
}
#endif
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |