# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
687815 | grossly_overconfident | 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>
using namespace std;
void play() {
map<char, vector<int>> v;
faceup();
string s = "abcdefghijklmnopqrstuvwxyz";
for (int i = 1; i <= 50; ++i) {
char r = faceup(i);
v[r].push_back(i);
}
for (char j : s) {
for (int k : v[j]) {
faceup(k);
}
}
}