# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
372566 | Christopher_Rdz | 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 "grader.h"
#include "memory.h"
char cubeta[52];
void play() {
char a, b;
int pos = 1;
for (int i = 1; i <= 50; i++){
a = faceup(i);
char[i] = a;
}
for (int i = 1; i <= 50; i++){
for (int j = 1; j <= 50; j++){
if (i != j){
if (cubeta[i] == cubeta[j]){
faceup(i);
faceup(j);
}
}
}
}
}