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() {
vector<vector<int>> v;
string s = "abcdefghijklmnopqrstuvwxyz";
int q = 1;
map<char, int> m;
for (char o : s) {
m[o] = q;
++q;
}
for (int i = 1; i <= 50; ++i) {
char r = faceup(i);
v[m[r]].push_back(i);
}
for (auto j : v) {
for (int k : j) {
faceup(k);
}
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |