Wrong Answer

foo.cc: In function 'int main()':
foo.cc:9:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
    9 |  if(n=5)cout<<"33.0";
      |     ~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 33.0, expect 45.0. 2ms 384.0 KiB
#2 Wrong Answer Read 33.0, expect 10.5. 2ms 384.0 KiB
#3 Wrong Answer Read 33.0, expect 41.0. 2ms 384.0 KiB
#4 Wrong Answer Read 33.0, expect 77.0. 2ms 384.0 KiB
#5 Wrong Answer Read 33.0, expect 89.0. 2ms 512.0 KiB
#6 Wrong Answer Read 33.0, expect 49.0. 4ms 384.0 KiB
#7 Wrong Answer Read 33.0, expect 73.0. 6ms 384.0 KiB
#8 Accepted 2ms 384.0 KiB
#9 Wrong Answer Read 33.0, expect 65.0. 4ms 384.0 KiB
#10 Wrong Answer Read 33.0, expect 93.0. 2ms 384.0 KiB

信息

递交者
类型
递交
比赛
202112初一阶段反馈赛
语言
C++
递交时间
2021-12-11 09:53:31
评测时间
2021-12-11 09:53:31
评测机
分数
10
总耗时
32ms
峰值内存
512.0 KiB