# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
281921 | Kastanda | Memory (IOI10_memory) | C++11 | 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.h"
using namespace std;
void play()
{
char C[55];
for (int i = 1; i <= 50; i ++)
C[i] = faceup(i);
for (int i = 1; i <= 50; i ++)
for (int j = i + 1; j <= 50; j ++)
if (C[i] == C[j])
faceup(i), faceup(j);
return ;
}