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