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;
unordered_map<char, int> pos;
void play() {
char c;
for (int i = 2; i <= 50; ++i) {
c = faceup(i);
if (pos[c]) {
faceup(pos[c]);
}
else {
pos[c] = i;
faceup(1);
}
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |