Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:12:8: error: redeclaration of 'double g'
12 | double g=f*a*c-f*b*d+e*a*d+b*c*e;
| ^
/in/foo.cc:5:21: note: 'double g' previously declared here
5 | double a,b,c,d,e,f,g,h;
| ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1011 OO2-1 复数类的算术、赋值运算符的重载
- 语言
- C++
- 递交时间
- 2026-11-18 20:27:57
- 评测时间
- 2026-11-18 20:27:57
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes