Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- problema 335
- #include <iostream>
- using namespace std;
- int main()
- {
- int n,mn=1001,x;
- cin>>n;
- while (n!=0){
- cin>>x;
- if (x<mn)
- mn=x;
- n--;
- }
- cout<<mn;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement