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