# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
592141 | Mahtimursu | 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.
#include "grader.h"
#include "memory.h"
void play() {
vector<char> v(51);
for (int i = 1; i <= 50; ++i) {
v[i] = faceup(i);
}
for (int i = 1; i <= 50; ++i) {
for (int j = i + 1; j <= 50; ++j) {
if (v[i] == v[j]) {
faceup(i);
faceup(j);
}
}
}
}