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