Wrong Answer

foo.cc: In function 'int main()':
foo.cc:21:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   21 |         if(sum=total)
      |            ~~~^~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 256.0 KiB
#2 Accepted 4ms 256.0 KiB
#3 Accepted 3ms 256.0 KiB
#4 Accepted 4ms 256.0 KiB
#5 Accepted 3ms 256.0 KiB
#6 Accepted 3ms 256.0 KiB
#7 Accepted 7ms 256.0 KiB
#8 Wrong Answer Read 3, expect 2. 8ms 256.0 KiB
#9 Accepted 1ms 256.0 KiB
#10 Wrong Answer Read 7, expect 8. 2ms 256.0 KiB
#11 Wrong Answer Read 38, expect 21. 3ms 256.0 KiB
#12 Wrong Answer Read 89, expect 100. 2ms 256.0 KiB
#13 Wrong Answer Read 80, expect 100. 2ms 384.0 KiB
#14 Wrong Answer Read 26, expect 1. 3ms 256.0 KiB
#15 Wrong Answer Read 87, expect 100. 2ms 256.0 KiB
#16 Wrong Answer Read 43, expect 1. 1ms 256.0 KiB
#17 Wrong Answer Read 10, expect 1. 3ms 256.0 KiB
#18 Wrong Answer Read 27, expect 1. 3ms 256.0 KiB
#19 Wrong Answer Read 12, expect 1. 1ms 256.0 KiB
#20 Wrong Answer Read 89, expect 100. 2ms 256.0 KiB

信息

递交者
类型
递交
题目
P2232 龙虎斗
语言
C++
递交时间
2022-10-05 23:02:56
评测时间
2022-10-05 23:02:56
评测机
分数
40
总耗时
70ms
峰值内存
384.0 KiB