#include <stdio.h> int main() { int m = 0;//m行n列 int n = 0; scanf("%d %d", &m, &n); int arr[5][5] = {0};//二维数组 int i = 0; int j = 0; for (i = 0; i <= m - 1; i++)//输入 { int j = 0; for (j= 0; j <= n - 1; j++) { scanf("%d ", &arr[i][j]); } } scanf("%d %d", &i, &j); i -= 1;//下标为数组 j -= 1; printf("%d\n", arr[i][j]); return 0; }