/ TYWZ /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:23:9: warning: unused variable 'sum' [-Wunused-variable]
     int sum;
         ^~~
/in/foo.cc:41:8: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized]
     sum+=a[i].val*a[i].shuliang;
     ~~~^~~~~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 360.0 KiB
#2 Wrong Answer 3ms 384.0 KiB
#3 Wrong Answer 3ms 384.0 KiB
#4 Wrong Answer 3ms 360.0 KiB
#5 Wrong Answer 3ms 352.0 KiB
#6 Wrong Answer 3ms 384.0 KiB
#7 Wrong Answer 3ms 360.0 KiB
#8 Wrong Answer 3ms 360.0 KiB
#9 Wrong Answer 3ms 348.0 KiB
#10 Wrong Answer 3ms 384.0 KiB

信息

递交者
类型
递交
题目
17.10.6 Prob II - Coin
比赛
2017.10.6 TYWZ NOIp提高组模拟练习
语言
C++
递交时间
2017-10-06 11:43:54
评测时间
2017-10-06 11:43:54
评测机
分数
0
总耗时
34ms
峰值内存
384.0 KiB