💭C++ 複数の数値の最大値を求める2021/12/29に公開C++techint main() { int n;cin>>n; int mx=0; rep(i,n){ int a;cin>>a; if(mx<a){ mx=a; } } cout<<mx; } https://atcoder.jp/contests/abc176/tasks/abc176_c 取組中のめも Discussion
Discussion