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() {
bool vis[51][51];
memset(vis , 0 , sizeof(vis));
char c[51];
for(int i = 1; i<=50; i++){
char now = faceup(i);
c[i] = now;
}
for(int i = 1; i<=50; i++){
for(int j =1; j<=50; j++){
if(c[i] == c[j] && vis[i][j]!=1){}
faceup(i);
faceup(j);
vis[i][j] = 1;
}
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |