记录详情

Compile Error

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

信息

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