Run ID:154532
提交时间:2026-05-30 14:59:13
#include<bits/stdc++.h> using namespace std; int main() { long long a[100][100]; long long s,d; cin>>s>>d; for(int i=1;i<=5;i++){ for(int j=1;j<=5;j++){ cin>>a[i][j]; } } for(int i=1;i<=5;i++){ for(int j=1;j<=5;j++){ if(i==d){ cout<<[d][j] }else{ if(i==s){ cout<<a[s][j]; }else{ cout<<a[i][j]; } } } cout<<endl; } return 0; }