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 MAX = 0, MIN = 0;
for (int i = 1; i < n; i++) {
if (Compare(MAX, i) > 0) MAX = i;
if (Compare(MIN, i) < 0) MIN = i;
} Answer(MAX, MIN);
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |