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>
using namespace std;
#ifdef tabr
#include "library/debug.cpp"
#else
#define debug(...)
#endif
char faceup(int);
void play() {
string a;
for (int i = 0; i < 50; i++) {
a += faceup(i + 1);
}
for (int i = 0; i < 50; i++) {
for (int j = i + 1 + (i % 2 == 0); j < 50; j++) {
if (a[i] == a[j]) {
faceup(i + 1);
faceup(j + 1);
}
}
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |