Compile Error
foo.cc: In function ‘int main()’: foo.cc:5:21: error: redeclaration of ‘int n’ 5 | int n,a,b,c,n; | ^ foo.cc:5:13: note: ‘int n’ previously declared here 5 | int n,a,b,c,n; | ^ foo.cc:10:17: error: ‘m’ was not declared in this scope 10 | m=a+b; | ^
信息
- 递交者
- 类型
- 递交
- 题目
- P2556 小杨做题2级1 2023.12
- 语言
- C++
- 递交时间
- 2025-05-15 20:10:09
- 评测时间
- 2025-05-15 20:10:09
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes