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>
void play() {
int i;
char a[51],b;
for (i=1;i<=50;i++) {
a[i]=faceup(i);
}
for(int i=1;i<=50;i++){
if(a[i]!='0'){
b=faceup(i);
for(int q=1;q<=50;q++){
if(i!=q&&b==a[q]){
b=faceup(q);
a[i]=a[q]='0';
}
}
}
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |