# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
802811 | Gabi88 | Memory (IOI10_memory) | C++14 | 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.
#include<bits/stdc++.h>
#include "memory"
using namespace std;
void play(){
int l[25][2]; memset(l, -1, sizeof l); int x;
for(int i=1; i < 51; i++){
x = faceup(i)-'A';
if (l[x][0] == -1) l[x][0] = i;
else l[x][1] = i;
}
for(int i=0; i < 25; i++){ x = faceup(l[i][0]); x = faceup(l[i][1]); }
return;
}