Submission #39357

#TimeUsernameProblemLanguageResultExecution timeMemory
3935714kg라멘 (JOI14_ramen)C++11
20 / 100
0 ms1120 KiB
#include "ramen.h" #include <algorithm> using namespace std; bool cmp(int x, int y) { return Compare(x, y) > 0; } void Ramen(int n) { int d[300]; for (int i = 0; i < n; i++) d[i] = i; sort(d, d + n, cmp); Answer(d[n - 1], d[0]); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...