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 <map>
#include <vector>
using namespace std;
void play() {
map<char, vector<int> > pos;
for (int i = 1; i <= 50; i++) {
char card = faceup(i);
pos[card].push_back(i);
}
for (auto& p: pos) {
vector<int> v = p.second;
faceup(v[0]);
faceup(v[1]);
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |