# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
201880 | Leonardo_Paes | 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"
#include <bits/stdc++.h>
void play() {
vector<int> p[26];
int i=1, j=50, a;
while(i<j){
a = faceup(i);
p[a].push_back(i);
a = faceup(j);
p[a].push_back(j);
i++, j--;
}
for(int i=1; i<=26; i++){
faceup(p[i][0]); faceup(p[i][1]);
}
}