Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:13:19: error: 'total_energy' was not declared in this scope 13 | double 电费 = total_energy - m; | ^~~~~~~~~~~~ /in/foo.cc:11:12: warning: unused variable '\U0000603b\U00007535\U000091cf' [-Wunused-variable] 11 | double 总电量 = a / 20.0; | ^~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1085 xf1-8交电费
- 比赛
- 2025程序设计与竞赛作业赛第一场(整装出发)
- 语言
- C++
- 递交时间
- 2025-09-27 18:29:03
- 评测时间
- 2025-10-03 01:45:15
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes