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"
void play() {
int IDX1[25] = {};
int IDX2[25] = {};
for(int i=1;i<=50;i++){
char ch = faceup(i);
int x = ch - 'A';
if( !IDX1[x] ) IDX1[x] = i;
else IDX2[x] = i;
}
for(int i=0;i<26;i++){
faceup( IDX1[i] );
faceup( IDX2[i] );
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |