/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:7:5: error: expected ',' or ';' before 'cout'
     cout << x+y << endl;
     ^~~~
foo.cc:9:2: error: 'system' was not declared in this scope
  system("pause");
  ^~~~~~
foo.cc:9:2: note: suggested alternative: 'sys_nerr'
  system("pause");
  ^~~~~~
  sys_nerr
foo.cc:5:6: warning: unused variable 'x' [-Wunused-variable]
  int x = 123; int y = 500
      ^
foo.cc:5:19: warning: unused variable 'y' [-Wunused-variable]
  int x = 123; int y = 500
                   ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1000 A+B Problem
语言
C++
递交时间
2021-09-27 16:52:42
评测时间
2021-09-27 16:52:42
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes