| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 64193 | 段文昊 | 偶数个1 | C++ | Compile Error | 0 MS | 0 KB | 355 | 2024-01-20 18:08:32 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,m=0; cin>>n; int a[n][n]; 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(a[i][j]==1){ m++;l } } } if(sum%2!=0){ cout<<"Corrupt"; return 0; } cout<<"OK"; return 0; }
Main.cc: In function 'int main()':
Main.cc:15:9: error: 'l' was not declared in this scope
m++;l
^
Main.cc:19:5: error: 'sum' was not declared in this scope
if(sum%2!=0){
^