Compile Error

foo.cc: In function 'int main()':
foo.cc:5:8: error: 'a' was not declared in this scope
  int x=a,y=b;
        ^
foo.cc:6:10: error: 'b' was not declared in this scope
  cin>>a>>b;
          ^
foo.cc:5:6: warning: unused variable 'x' [-Wunused-variable]
  int x=a,y=b;
      ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1207 a+b
语言
C++
递交时间
2021-10-17 16:55:11
评测时间
2021-10-17 16:55:11
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes