Compile Error
foo.cc: In function 'int main()': foo.cc:8:12: error: array must be initialized with a brace-enclosed initializer int a[1]=x/100; ~^~~~ foo.cc:9:9: error: conflicting declaration 'int a [2]' int a[2]=x/10%10; ^ foo.cc:8:6: note: previous declaration as 'int a [1]' int a[1]=x/100; ^ foo.cc:10:9: error: conflicting declaration 'int a [3]' int a[3]=x%10; ^ foo.cc:8:6: note: previous declaration as 'int a [1]' int a[1]=x/100; ^
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1270 数字重排
- 语言
- C++
- 递交时间
- 2021-08-05 10:06:04
- 评测时间
- 2021-08-05 10:06:04
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes