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, pair<int, int>> m;
char c = 'A';
for(int i = 1; i<=25; i++) {
m[c].first = -1;
m[c].second = -1;
c++;
}
for(int i = 1; i<=50; i++){
c = faceup(i);
if(m[c].first == -1) m[c].first = i;
else if(m[c].second == -1) m[c].second = i;
}
for(auto p : m) {
faceup(p.second.first);
faceup(p.second.second);
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |