# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
164273 | 2019-11-18T21:44:57 Z | daddy0h | 최댓값 (tutorial2) | C++11 | 0 ms | 0 KB |
/// 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; }