Wrong Answer

foo.cc: In function 'int main()':
foo.cc:20:9: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
   20 |  }cout<<ans<<endl;
      |         ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -1437523376, expect 1. 2ms 384.0 KiB
#2 Wrong Answer Read -1203617200, expect 2. 1ms 384.0 KiB
#3 Wrong Answer Read -778808752, expect 22. 2ms 512.0 KiB
#4 Wrong Answer Read 1147073104, expect 479995. 2ms 384.0 KiB
#5 Wrong Answer Read -379137456, expect 2399998. 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1040 xf1-10多喝饮料
语言
C++
递交时间
2022-08-09 21:54:17
评测时间
2022-08-09 21:54:17
评测机
分数
0
总耗时
11ms
峰值内存
512.0 KiB