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 posLettre[51];
bool bloque[51];
void play() {
int i;
char a, b;
for (i=1; i<=50; i+=2) {
a = faceup(i);
b = faceup(i+1);
posLettre[a-'A'] = i;
posLettre[b-'A'] = i+1;
}
for(i = 1; i <= 50; i++)
{
if(bloque[i]) continue;
a = faceup(i);
b = faceup(posLettre[a-'A']);
bloque[posLettre[a-'A']] = true;
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |