# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1015585 | ByeWorld | Memory (IOI10_memory) | C++14 | 1 ms | 344 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"
int val[55][2];
void play() {
for(int i=1; i<=50; i++){
char x = faceup(i);
int p = (int)(x-'a'); p++;
if(val[p][0] != 0) val[p][1] = i;
else val[p][0] = i;
}
for(int i=1; i<=25; i++){
char x = faceup(val[i][0]);
char y = faceup(val[i][1]);
}
return;
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |