Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
79450 黄睿杰 [在线测评解答教程] A+B Problem C++ Accepted 4 MS 268 KB 362 2024-07-06 12:02:22

Tests(11/11):


Code:

#include<bits/stdc++.h> using namespace std; int a[1000][1000]; int main(){ int m,n,x,y,t; cin>>m>>n; cout<<m+n; for(int i=1;i<=m;i++){ for(int j=1;j<=n;j++) cin>>a[i][j]; } for(int j=1;j<=n;j++){ t=a[x][j]; a[x][j]=a[y][j]; a[y][j]=t; } for(int i=1;i<=m;i++){ for(int j=1;j<=n;j++){ } cout<<endl; } return 0; }