# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
503773 | Carmel_Ab1 | 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 "grader.cpp"
#include <bits/stdc++.h>
using namespace std;
void play() {
vector<vector<int>>pos(26);
for(int i=0; i<50; i++) {
char c=faceup(i+1);
pos[c-'A'].push_back(i+1);
}
for(int i=0; i<26; i++)
for(int x:pos[i])
faceup(x);
}