记录详情

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;
      |                        ^
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 380.0 KiB
#2 Accepted 2ms 536.0 KiB
#3 Accepted 2ms 360.0 KiB
#4 Accepted 2ms 392.0 KiB
#5 Wrong Answer 1ms 532.0 KiB

信息

递交者
类型
递交
题目
P1085 xf1-8交电费
比赛
2025程序设计与竞赛作业赛第一场(整装出发)
语言
C++
递交时间
2025-09-27 18:39:14
评测时间
2025-10-03 01:53:25
评测机
分数
60
总耗时
11ms
峰值内存
536.0 KiB