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=0;
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+1)==faceup(c+1)) contador++;
}
}
if (contador==25) return;
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |