# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
474076 | ValiAntonie | 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"
#include <vector>
using namespace std;
using namespace std;
void play() {
std::vector<int> v[26];
for (int i = 0; i < 50; i++) {
char c = faceup(i + 1);
v[c - 'A'].push_back(i);
}
for (int i = 0; i < 25; i++) {
assert(v[i].size() == 2);
assert(faceup(v[i][0] + 1) == faceup(v[i][1] + 1));
}
return;
}