# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
6002 |
2014-06-13T08:13:22 Z |
kriii |
라멘 (JOI14_ramen) |
C++ |
|
0 ms |
1124 KB |
#include "ramen.h"
void Ramen(int N) {
int l=0, r=0;
for (int i=1;i<N;i++){
if (Compare(l,i) == 1) l = i;
else if (Compare(i,r) == 1) r = i;
}
Answer(l,r);
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
1124 KB |
Output is correct |
2 |
Correct |
0 ms |
1124 KB |
Output is correct |
3 |
Correct |
0 ms |
1124 KB |
Output is correct |
4 |
Correct |
0 ms |
1124 KB |
Output is correct |
5 |
Correct |
0 ms |
1124 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
1124 KB |
Output is correct |
2 |
Correct |
0 ms |
1124 KB |
Output is correct |
3 |
Correct |
0 ms |
1124 KB |
Output is correct |
4 |
Correct |
0 ms |
1124 KB |
Output is correct |
5 |
Correct |
0 ms |
1124 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
1124 KB |
Wrong Answer [2] |
2 |
Halted |
0 ms |
0 KB |
- |