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>
using namespace std;
void play() {
int candy = 0;
for (int i = 1; i <= 50; ++i) {
int res1 = faceup(i);
for (int j = i + 1; j <= 50; ++j) {
int res2 = faceup(j);
if (res1 == res2) candy++;
if (candy == 25) return;
}
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |