Wrong Answer

foo.cc: In function 'int main()':
foo.cc:10:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   10 |                 if(a=0)
      |                    ~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 284.0 KiB
#2 Wrong Answer 0a1 > -6 \ No newline at end o 2ms 284.0 KiB
#3 Wrong Answer 0a1 > -5 2ms 284.0 KiB
#4 Accepted 2ms 284.0 KiB
#5 Accepted 2ms 284.0 KiB

信息

递交者
类型
递交
题目
P2305 1.2.6:浮点数向零舍入
语言
C++
递交时间
2023-05-13 14:59:00
评测时间
2023-05-13 14:59:00
评测机
分数
60
总耗时
12ms
峰值内存
284.0 KiB