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 "memory.h"
#include "grader.h"
#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include <set>
void play() {
char b;
int A[25][2];
for(int i = 1; i <= 50;++i){
b = faceup(i);
if(A[b - 'A'][0])
A[b - 'A'][1] = i;
else
A[b - 'A'][0] = i;
}
for(int i = 0 ; i < 25;++i){
faceup(A[i][0]);
faceup(A[i][1]);
}
return;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |