# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
236047 |
2020-05-31T02:54:25 Z |
hhs2u |
라멘 (JOI14_ramen) |
C++17 |
|
5 ms |
384 KB |
#include "ramen.h"
void Ramen(int N) {
int a=0,b=0,c;
for(int i=1;i<N;i++)
{
c=i;
if(Compare(c,a)==1) a=c;
if(Compare(b,c)==1) b=c;
}
Answer(b,a);
return;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
5 ms |
256 KB |
Output is correct |
2 |
Correct |
4 ms |
256 KB |
Output is correct |
3 |
Correct |
4 ms |
128 KB |
Output is correct |
4 |
Correct |
5 ms |
256 KB |
Output is correct |
5 |
Correct |
5 ms |
256 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
4 ms |
256 KB |
Output is correct |
2 |
Correct |
4 ms |
256 KB |
Output is correct |
3 |
Correct |
5 ms |
384 KB |
Output is correct |
4 |
Correct |
4 ms |
256 KB |
Output is correct |
5 |
Correct |
5 ms |
384 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
5 ms |
256 KB |
Execution failed because the return code was nonzero |
2 |
Halted |
0 ms |
0 KB |
- |