# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
697628 | europium | Memory (IOI10_memory) | C++17 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
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]);
}
}