Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
140495 刘柠锐 [在线测评解答教程] A+B Problem C++ Output Limit Exceeded 1 MS 276 KB 338 2025-12-15 16:14:54

Tests(0/11):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int n,b=0; cin>>n; int a[100][100]; for(int i=0;i<n;i++){ for(int j=0;j<n;j++){ cin>>a[i][j]; } } for(int i=0;i<n;i++){ for(int j=0;j<n;j++){ if(i==n/2||j==n/2){ a[i][j]=b; } cout<<a[i][j]<<" "; } cout<<endl; } return 0; }