# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
164273 | daddy0h | 최댓값 (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.
/// https://oj.uz/problem/view/tutorial2
#include <bits/stdc++.h>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int tN;
cin >> tN;
int t_max = -987654321;
for(int id=0; id<tN; ++id)
{
int tmp;
cin >> tmp;
if(tmp > t_max) t_max = tmp;
}
cout << t_max;
return 0;
}