Submission #262918

#TimeUsernameProblemLanguageResultExecution timeMemory
262918dolphingarlic라멘 (JOI14_ramen)C++14
30 / 100
1 ms256 KiB
#include "ramen.h" void Ramen(int N) { int lo = 0, hi = 1; if (Compare(lo, hi) == 1) lo = 1, hi = 0; for (int i = 2; i < N; i++) { if (Compare(lo, i) == 1) lo = i; else if (Compare(i, hi) == 1) hi = i; } Answer(lo, hi); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...