# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
717714 | Vlatko09 | Memory (IOI10_memory) | C++14 | 27 ms | 220 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()
{
char c[55];
int n[55];
for(int i=1;i<=50;i++)
for(int j=i+1;j<=50;j++)
{
c[i]=faceup(i);
n[i]=i;
c[i+1]=faceup(j);
n[i+1]=i;
}
for(int i=1;i<=50;i++)
for(int j=i+1;j<=50;j++)
{
if(c[i]==c[j])
{
faceup(i);
faceup(j);
}
}
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |