Compile Error

foo.cc: In function 'int main()':
foo.cc:7:3: warning: statement has no effect [-Wunused-value]
  0<=x;
  ~^~~
foo.cc:9:2: error: expected ';' before 'cout'
  cout<<x+y<<endl;
  ^~~~
foo.cc:8:3: warning: statement has no effect [-Wunused-value]
  y<=32767
  ~^~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

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