#include<bits/stdc++.h> using namespace std; int minu=214748364,a,b; int main(){ cin>>a; while(a--){ cin>>b; minu=min(minu,b); } cout<<minu; return 0; }
By signing up a 启智 | CDEZ OJ universal account, you can submit code and join discussions in all online judging services provided by us.
Using your 启智 | CDEZ OJ universal account