Wrong Answer

foo.cc: In function 'int main()':
foo.cc:9:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
    9 |  if(e=43)
      |     ~^~~
foo.cc:13:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   13 |    if(e=45)
      |       ~^~~
foo.cc:17:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   17 |      if(e=42)
      |         ~^~~
foo.cc:21:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   21 |     if(e=47)
      |        ~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 5.900000, expect 5.90. 2ms 384.0 KiB
#2 Wrong Answer Read 5.000000, expect 1.00. 2ms 384.0 KiB
#3 Wrong Answer Read 5.000000, expect 6.00. 2ms 384.0 KiB
#4 Wrong Answer Read 5.000000, expect 0.67. 2ms 384.0 KiB
#5 Wrong Answer Read 2.000000, expect 1.00. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1029 简单计算器
语言
C++
递交时间
2022-07-09 20:16:41
评测时间
2022-07-09 20:16:41
评测机
分数
0
总耗时
11ms
峰值内存
384.0 KiB