# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
210709 | socho | Memory (IOI10_memory) | C++14 | 7 ms | 376 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, int> found;
for (int i=1; i<=50; i++) {
char t = faceup(i);
if (found.find(t) != found.end()) {
faceup(found[t]); // alr found, matcup
}
else {
if (i == 1) faceup(2);
else faceup(1);
found[t] = i;
}
}
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |