Compile Error

foo.cc: In function 'int main()':
foo.cc:6:10: warning: right operand of comma operator has no effect [-Wunused-value]
  cin>>a,b;
          ^
foo.cc:7:7: error: expected ';' before 'a'
  cout a+b <<endl; 
       ^
foo.cc:7:17: warning: statement has no effect [-Wunused-value]
  cout a+b <<endl; 
                 ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
语言
C++
递交时间
2021-11-06 06:36:37
评测时间
2021-11-06 06:36:37
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes