# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1112179 | enzy | Memory (IOI10_memory) | C++14 | 2 ms | 336 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() {
int v1[30], v2[30];
for(int i=0;i<30;i++){
v1[i]=-1;
v2[i]=-1;
}
for(int i=1;i<=100;i+=2){
char a=faceup(i), b=faceup(i+1);
int ia=a%65, ib=b%65;
if(v1[ia]==-1) v1[ia]=i;
else v2[ia]=i;
if(v1[ib]==-1) v1[ib]=i+1;
else v2[ib]=i+1;
}
for(int i=0;i<25;i++){
char l1=faceup(v1[i]), l2=faceup(v2[i]);
}
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |