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"
#include <bits/stdc++.h>
using namespace std;
#define pb push_back
int pos[30][2], n[30];
void play(){
for(int i = 1; i <= 50; i++){
char c = faceup(i);
pos[(int)c-'A'][n[(int)c-'A']++] = i;
}
for(int 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... |