# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
633807 | Zflop | 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 "memory.h"
#include "grader.h"
#include <stdio.h>
#include <stdlib.h>
void play() {
int i;
char b;
vector <set<int>> A(24);
for(int i = 1; i <= 50;++i){
b = faceup(i);
A[b - 'A'].ins(i);
}
for(auto& x:A){
faceup(*x.begin());
faceup(*x.rbegin());
}
return;
}