Compile Error

foo.cc: In function 'int main()':
foo.cc:6:8: error: expected ';' before 'y'
   0<=x y<=32767;
        ^
foo.cc:6:4: warning: statement has no effect [-Wunused-value]
   0<=x y<=32767;
   ~^~~
foo.cc:7:2: error: 'cout' was not declared in this scope
  cout<<x+y<<endl;
  ^~~~
foo.cc:7:13: error: 'endl' was not declared in this scope
  cout<<x+y<<endl;
             ^~~~
foo.cc:7:13: note: suggested alternative: 'enum'
  cout<<x+y<<endl;
             ^~~~
             enum
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1207 a+b
语言
C++
递交时间
2021-09-01 13:28:08
评测时间
2021-09-01 13:28:08
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes