# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
275328 | barsbold | 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 <bits/stdc++.h>
void play() {
bool vis[51][51];
memset(vis , 0 , sizeof(vis));
vector<int> f;
for(int i =1 ;i<=50; i++){
faceup(i);
f[faceup(i)].push_back(i);
}
for(int i = 1; i<=25; i++){
faceup(f[i][0]);
faceup(f[i][1]);
}
}