# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
545570 | pere_gil | Memory (IOI10_memory) | C++17 | 1 ms | 208 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 "bits/stdc++.h"
#include "grader.h"
#include "memory.h"
using namespace std;
void play() {
int v[100];
memset(v,-1,sizeof v);
for(int i=1;i<=50;i++){
char a=faceup(i);
if(v[a]!=-1) faceup(v[a]);
else{
v[a]=i;
char b=faceup((i+1)%50);
if(a==b) i++;
}
}
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |