| # | Time | Username | Problem | Language | Result | Execution time | Memory | 
|---|---|---|---|---|---|---|---|
| 148352 | sg1774 | 최댓값 (tutorial2) | C++11 | 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 <bits/stdc++.h>
using namespace std;
GetMax(int n, int a[])
{
    int s=0;
    for(int i=0;i<n;i++) s=max(s,a[i]);
    printf("%d",s);
}
int main()
{
    int arr[200],z;
    scanf("%d",&z);
    for(int i=0;i<z;i++) scanf("%d",&arr[i]);
    GetMax(z,arr);
    return 0;
}
