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() {
vector<int> pos(25, 0);
for (int i = 1; i <= 50; i++) {
int val = faceup(i) - 'A';
if (pos[val] > 0) {
faceup(pos[val]);
} else {
pos[val] = i;
faceup(i + 1);
}
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |