Submission #262916

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