Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cmath>
- #include <iomanip>
- #include <fstream>
- #include <string>
- using namespace std;
- int main(){
- int n,m,k,kiek=0;
- long long min=10000000;
- long long A[100][100];
- cin>>n>>m;
- for(int i=0;i<n;i++){
- for(int j=0;j<m;j++){
- cin>>A[i][j];
- if(A[i][j]<min)
- min=A[i][j];
- }
- }
- cout<<min;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement