}#include <iostream> using namespace std; int main() { int n,m,x,y; cin>>n>>m; int arr[n][m]; for (int i=0;i<n;i++) for (int j=0;j<m;j++) { cin>>arr[i][j]; } cin>>x>>y; cout<<arr[x-1][y-1]; }
cin>>x>>y; cout<<arr[x-1][y-1];
}
}#include <iostream> using namespace std; int main() { int n,m,x,y; cin>>n>>m; int arr[n][m]; for (int i=0;i<n;i++) for (int j=0;j<m;j++) { cin>>arr[i][j]; } cin>>x>>y; cout<<arr[x-1][y-1]; }
cin>>x>>y; cout<<arr[x-1][y-1];
}