# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
308016 | Temmie | 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 "memory.h"
#include <bits/stdc++.h>
void play() {
std::vector <std::vector <int>> pos(25);
for (int i = 1; i <= 50; i++) {
char c = faceup(i);
pos[c - 'A'].push_back(i);
}
for (auto v : pos) faceup(v[0]), faceup(v[1]);
}