# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
651685 | LucaGreg | 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"
vector<int> l[60];
void play() {
for(int i=1;i<=50;i++){
char c; c = faceup(i);
l[c - 'A'].push_back(i);
}
for(int i=0;i<25;i++){
for(int j=0;j<(int)l[i].size();j++){
faceup(l[i][j]);
}
}
}