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 i;
int NMAX = 50;
vector <int> v;
for ( i = 0; i < 50; ++ i){
v[i] = faceup(i + 1);
}
for ( i = 0; i < NMAX; ++ i){
for (int j = i + 1; j < NMAX; ++ j){
if (v[i] == v[j]){
faceup(i + 1);
faceup(j + 1);
}
}
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |