1111

h2022002 2023-10-04 16:11:15

#include <bits/stdc++.h> using namespace std;

int main() { int a[10][10],n,tot=0,yoy=0; cin>>n; for(int i=1;i<=n;i++) { for(int t=1;t<=n;t++) { cin>>a[i][t]; tot+=a[i][t]; } if(tot<yoy&&yoy!=0) { yoy=tot; } else if(yoy=0) { yoy=tot; } tot=0; } cout<<endl<<yoy; return 0; }