Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int n,m,mic,x,y,mare;
- citire(n,m,a,mic);
- cout<<"a) "<<numarpalindroame(n,m,a);
- cout<<"\n";
- cin>>x>>y;
- if (x>y) swap(x,y);
- cout<<"b) ";
- verifinterval(n,m,a,x,y);
- cout<<"\n"<<"c) ";
- for (int i=1;i<=n;i++)
- {
- for (int j=1;j<=m;j++)
- {
- if (a[i][j]==mic) cout<<i<<", "<<j<<"\n";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement