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"
int const nmax = 50;
char v[1 + nmax * 2];
void play() {
for(int i = 1; i <= nmax; i++)
v[i] = faceup(i);
for(int i = 1; i <= nmax; i++)
for(int j = i + 1; j <= nmax; j++)
if(v[i] == v[j]){
faceup(i);
faceup(j);
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |