Run ID:11989

提交时间:2021-05-18 17:00:18

#include <bits/stdc++.h> using namespace std; int a[5][5]; int main() { int p=1; int x,y; for(int i=0;i<3;i++) for(int j=0;j<4;j++) { a[i][j]=p; p+=2; } cin >> x >> y; cout << a[x][y]; return 0; }