# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
236049 |
2020-05-31T03:14:09 Z |
hhs2u |
라멘 (JOI14_ramen) |
C++17 |
|
5 ms |
512 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;
else
{
if(Compare(b,c)==1) b=c;
}
}
Answer(b,a);
return;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
4 ms |
256 KB |
Output is correct |
2 |
Correct |
5 ms |
256 KB |
Output is correct |
3 |
Correct |
4 ms |
384 KB |
Output is correct |
4 |
Correct |
4 ms |
256 KB |
Output is correct |
5 |
Correct |
4 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 |
512 KB |
Output is correct |
4 |
Correct |
4 ms |
256 KB |
Output is correct |
5 |
Correct |
4 ms |
256 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
4 ms |
256 KB |
Execution failed because the return code was nonzero |
2 |
Halted |
0 ms |
0 KB |
- |