# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1795 | caffeinism7 | 최댓값 (tutorial2) | C++98 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <stdio.h>
int main(void){
int x, y, max=0;
scanf("%d", &x);
for(int i=1; i<=x; i++){
scanf("%d", &y);
if(max < y) max = y;
}
printf("%d", max);
return 0;
}