# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
542122 | inventiontime | Memory (IOI10_memory) | C++17 | 2 ms | 280 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"
void play() {
int pos[100] = {};
for(int i = 1; i <= 50; i++) {
int r = faceup(i);
if(pos[r] == 0) pos[r] = i, faceup(i%50+1);
else faceup(pos[r]);
}
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |