Untitled
unknown
plain_text
a year ago
309 B
1
Indexable
Never
#include <chrono> #include <thread> #include <iostream> #include <string> #include <stdlib.h> using namespace std; void foo(); int main() { int n; cin >> n; int t; int max = 0; for (int i = 0; i < n; i++) { cin >> t; if (t > max) { max = t; } } cout << max; return 0; }