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 <bits/stdc++.h>
using namespace std;
#include "grader.h"
#include "memory.h"
void play() {
map<int,int>f,s;
for(int i = 1 ; i <= 50 ; i+=2) {
char ff = faceup(i);
if(!f.count(ff)) {
f[ff] = i;
} else {
s[ff] = i;
}
char ss = faceup(i+1);
if(!f.count(ss)) {
f[ss] = i+1;
} else {
s[ss] = i+1;
}
}
char c = 'A';
for(int i = 0 ; i < 25 ; i++) {
faceup(f[c]),faceup(s[c]);
c++;
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |