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 cubeta[102];
int cubeta2[102];
void play() {
char a, b;
for (int i = 1; i <= 50; i++){
a = faceup(i);
if (cubeta[int(a)] == 0){
cubeta[int(a)] = i;
}else{
cubeta2[int(a)] = i;
}
b = faceup(i+1);
if (cubeta[int(b)] == 0){
cubeta[int(b)] = i;
}else{
cubeta2[int(b)] = i;
}
}
for (int i = 65; i <= 89; i++){
faceup(cubeta[i]);
faceup(cubeta2[i]);
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |