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"
#include <algorithm>
using namespace std;
bool cmp(int x, int y) {
return Compare(x, y) > 0;
}
void Ramen(int n) {
int d[300];
for (int i = 0; i < n; i++) d[i] = i;
sort(d, d + n, cmp);
Answer(d[n - 1], d[0]);
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |