Wrong Answer

foo.cc: In function 'int main()':
foo.cc:9:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
    9 |    else if(a=0)
      |            ~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 6ms 384.0 KiB
#2 Wrong Answer Read negative, expect zero. 2ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 5ms 384.0 KiB

信息

递交者
类型
递交
题目
P2330 1.4.1:判断数正负
语言
C++
递交时间
2022-06-13 09:52:02
评测时间
2022-06-13 09:52:02
评测机
分数
80
总耗时
20ms
峰值内存
384.0 KiB