| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 128534 | 周荣浩 | 19买画笔 | C++ | Compile Error | 0 MS | 0 KB | 242 | 2025-08-18 10:15:34 |
#include<bits/stdc++.h> using namespace std; int a[105]; int main(){ int n; cin>>n; int m; for(int i=1;i<=n;i++){ cin>>m; a[m]++; } for(int i=1;i<=100;i++){ if(a[i]%2==1;){ cout<<i<<endl; } } return 0; }
Main.cc: In function 'int main()':
Main.cc:13:15: error: expected ')' before ';' token
if(a[i]%2==1;){
^
Main.cc:13:16: error: expected primary-expression before ')' token
if(a[i]%2==1;){
^