Compile Error

foo.cc: In function 'int main()':
foo.cc:4:2: error: 'cin' was not declared in this scope
    4 |  cin>>a;
      |  ^~~
foo.cc:8:7: error: 'b3' was not declared in this scope; did you mean 'b'?
    8 |  if(a=b3)
      |       ^~
      |       b
foo.cc:10:1: error: expected primary-expression before '}' token
   10 | }
      | ^
foo.cc:3:14: warning: unused variable 'sum' [-Wunused-variable]
    3 |  int a,b,c,d,sum;
      |              ^~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1014 水仙花数
语言
C++
递交时间
2022-07-12 20:31:36
评测时间
2022-07-12 20:31:36
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes