# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
5049 | jspark19990205 | 최댓값 (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.
int GetMax(int n, int *A)
{
int i;
int max = 0;
for(i=0;i<n;i++)
if(max<a[i])
max = a[i];
return max;
}