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"
int pos[25][2];
int n[25];
void play() {
int i;
char c;
for(i = 1; i <= 50; ++i){
c = faceup(i);
pos[c-'A'][n[c-'A']++] = i;
}
for(i = 0; i < 25; ++i){
faceup(pos[i][0]);
faceup(pos[i][1]);
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |