# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
767408 | Gabi88 | 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<bits/stdc++.h>
//#include<grader.h>
//#include<memory.h>
using namespace std;
vector<set<int>> v;
set<int> s;
char a;
void play(){
while(v.size() < 25) v.push_back(s);
for(int i=1; i < 51; i++){ a = faceup(i); v[a-'A'].insert(i); }
for(int i=1; i < 26; i++){
for(auto it : v[i]) a = faceup(it);
}
return 0;
}