Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
125861 | 周子潇 | 输出第i行第j列 | C++ | Accepted | 0 MS | 272 KB | 553 | 2025-07-15 16:00:14 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a[3][4]={1,3,5,7,9,11,13,15,17,19,21,23}; int i,j; cin>>i>>j; for(int i1=1;i1<=3;i1++) { for(int j1=1;j1<=4;j1++) { if(i==i1&&j==j1) { cout<<a[i][j]<<endl; } } } return 0; }