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 "vector"
#include "grader.h"
#include "memory.h"
void play() {
std::vector<int> p[25];
int i=1, j=50, a;
while(i<j){
a = faceup(i) - 'A';
p[a].push_back(i);
a = faceup(j) - 'A';
p[a].push_back(j);
i++, j--;
}
for(i=0; i<25; i++){
faceup(p[i][0]); faceup(p[i][1]);
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |