#include "ramen.h"
void Ramen(int N)
{
int mx=0;
for(int i=1;i<N;i++)
{
if(Compare(i, mx)==-1)mx=i;
}
int mn=0;
for(int i=1;i<N;i++)
{
if(Compare(i, mn)==1)mn=i;
}
Answer(mx, mn);
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
204 KB |
Output is correct |
2 |
Correct |
0 ms |
204 KB |
Output is correct |
3 |
Correct |
0 ms |
204 KB |
Output is correct |
4 |
Correct |
0 ms |
204 KB |
Output is correct |
5 |
Correct |
0 ms |
204 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
204 KB |
Output is correct |
2 |
Correct |
0 ms |
204 KB |
Output is correct |
3 |
Correct |
0 ms |
204 KB |
Output is correct |
4 |
Correct |
0 ms |
204 KB |
Output is correct |
5 |
Correct |
1 ms |
204 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Runtime error |
0 ms |
204 KB |
Execution failed because the return code was nonzero |
2 |
Halted |
0 ms |
0 KB |
- |