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>
#include "grader.h"
#include "memory.h"
using namespace std;
int pos1[30], pos2[30];
void play(){
for(int i = 1; i <= 50; i++){
char c = faceup(i);
if(pos1[c - 'A'] == 0) pos1[c - 'A'] = i;
else pos2[c - 'A'] = i;
}
for(int i = 0; i < 25; i++){
faceup(pos1[i]);
faceup(pos2[i]);
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |