Wrong Answer

foo.cc: In function 'int main()':
foo.cc:16:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(y=2)
      ~^~
foo.cc:5:12: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int n,y=0,x;
            ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1, expect 12. 1ms 384.0 KiB
#2 Wrong Answer Read 1, expect 58. 1ms 384.0 KiB
#3 Wrong Answer Read 1, expect 99. 1ms 384.0 KiB
#4 Wrong Answer Read 1, expect 139. 1ms 384.0 KiB
#5 Wrong Answer Read 1, expect 180. 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1070 阶段测验2-3(2 )
语言
C++
递交时间
2021-08-23 14:06:33
评测时间
2021-08-23 14:06:33
评测机
分数
0
总耗时
9ms
峰值内存
384.0 KiB