| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 83716 | 刘宇轩 | 对角线之和 | Python3 | Compile Error | 0 MS | 0 KB | 315 | 2024-07-14 16:36:46 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,m,c=0; cin>>n; int a[11][11]; for(int i=1;i<=n;i++){ for(int j=1;j<=n;j++){ cin>>a[i][j]; if(i==j||i+j==n) { c+=a[i][j]; } } } cout<<c; return 0; }
File "Main.py", line 2
using namespace std;
^
SyntaxError: invalid syntax