Compile Error

foo.cc:19:3: error: stray '#' in program
 } #include <iostream>
   ^
foo.cc: In function 'int main()':
foo.cc:11:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if(x=y)
     ~^~
foo.cc: At global scope:
foo.cc:19:4: error: 'include' does not name a type
 } #include <iostream>
    ^~~~~~~
foo.cc: In function 'int main()':
foo.cc:21:5: error: redefinition of 'int main()'
 int main()
     ^~~~
foo.cc:3:5: note: 'int main()' previously defined here
 int main()
     ^~~~
foo.cc:29:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if(x=y)
     ~^~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1013 水仙花数
语言
C++
递交时间
2021-11-20 09:17:11
评测时间
2021-11-20 09:17:11
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes