Wrong Answer
/in/foo.cc: In function 'int main()': /in/foo.cc:12:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 12 | else | ^~~~ /in/foo.cc:14:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 14 | double cost=j*k; | ^~~~~~ /in/foo.cc:14:24: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 14 | double cost=j*k; | ^~~~ /in/foo.cc:7:24: note: 'j' was declared here 7 | double a,m,k,i,j; | ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1085 xf1-8交电费
- 比赛
- 2025程序设计与竞赛作业赛第一场(整装出发)
- 语言
- C++
- 递交时间
- 2025-09-27 18:39:14
- 评测时间
- 2025-10-03 01:53:25
- 评测机
- 分数
- 60
- 总耗时
- 11ms
- 峰值内存
- 536.0 KiB