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 "ramen.h"
void Ramen(int N) {
int lo = 0, hi = 1;
if (~Compare(lo, hi)) lo = 1, hi = 0;
for (int i = 2; i < N; i++) {
if (~Compare(lo, i)) lo = i;
else if (~Compare(i, hi)) hi = i;
}
Answer(lo, hi);
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |