求关注
2026-08-01 20:02:01
发布于:广东
2阅读
0回复
0点赞
#include <bits/stdc++.h>
using namespace std;
int main(){
int n , m;
cin >> n >> m;
int a[n+1][m+1] = {};
for(int i = 1;i <= n;i++){
for(int j = 1;j <= m;j++){
cin >> a[i][j];
}
}
for(int i = 1;i <= 5;i++){
int x , y;
cin >> x >> y;
cout << a[x][y] << endl;
}
return 0;
}
这里空空如也







有帮助,赞一个