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 <bits/stdc++.h>
#include "grader.h"
#include "memory.h"
#define pb push_back
using namespace std;
vector <int> v[27];
void play() {
int i;
char a, b;
for (i=1; i<51; ++i) {
a = faceup(i);
b = faceup(i+1);
v[a-'A'+1].pb(i);
v[b-'A'+1].pb(i+1);
}
for (int i = 1; i <= 25; i++){
for (int x: v[i])
faceup(x);
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |