Submission #5985

#TimeUsernameProblemLanguageResultExecution timeMemory
5985baneling100라멘 (JOI14_ramen)C++98
50 / 100
0 ms1124 KiB
#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; else if(Compare(MIN,i)==1) MIN=i; } Answer(MIN,MAX); }

Compilation message (stderr)


#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...