# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
343939 | Iwanttobreakfree | Memory (IOI10_memory) | C++98 | 1 ms | 364 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 <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
#include "grader.h"
#include "memory.h"
using namespace std;
void play() {
int i,contador;
char a[50];
for (i=0; i<50; ++i) {
a[i]=faceup(i+1);
}
for(int b=0;b<50;b++){
for(int c=49;c>b;c--){
if(a[b]==a[c]){
if (faceup(b)==faceup(c)) contador++;
}
}
if (contador==25) return;
}
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |