# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
633815 | 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>
#include <vector>
#include <set>
void play() {
char b;
int A[25][2];
for(int i = 1; i <= 50;++i){
b = faceup(i);
if(A[b - 'A'][0])
A[b - 'A'][1] = i;
else
A[b - 'A'][0] = i;
}
for(int i = 0 ; i < 25;++i){
faceup(*x.begin());
faceup(*x.rbegin());
}
return;
}