#include<iostream> u
2026-09-27 17:58:17
发布于:广东
3阅读
0回复
0点赞
#include<iostream> using namespace std; int main(){ int a,b,h,w,sb; cin>>a>>b; int arr[a+1][b+1]; for(int i=1;i<=a;i++){ for(int j=1;j<=b;j++){ cin>>arr[i][j]; } } cin>>sb; for(int i=0;i<sb;i++){ cin>>h>>w; cout<<arr[h][w]; cout<<endl; } return 0; }
这里空空如也








有帮助,赞一个