Wrong Answer

foo.cc: In function 'int main()':
foo.cc:20:26: warning: 'sum' may be used uninitialized [-Wmaybe-uninitialized]
   20 |                 cout<<sum/120+1<<endl;
      |                       ~~~^~~~
foo.cc:6:13: note: 'sum' was declared here
    6 |         int sum;
      |             ^~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 4, expect 1. 2ms 284.0 KiB
#2 Accepted 2ms 280.0 KiB
#3 Accepted 2ms 284.0 KiB
#4 Accepted 2ms 284.0 KiB
#5 Accepted 2ms 284.0 KiB
#6 Wrong Answer Read 2, expect 4. 2ms 312.0 KiB
#7 Accepted 2ms 328.0 KiB
#8 Accepted 2ms 284.0 KiB
#9 Accepted 2ms 284.0 KiB
#10 Accepted 2ms 284.0 KiB

信息

递交者
类型
递交
题目
P1005 至少要买几瓶止咳糖浆
语言
C++
递交时间
2023-05-20 16:55:54
评测时间
2023-05-20 16:55:54
评测机
分数
80
总耗时
22ms
峰值内存
328.0 KiB