记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:6:19: warning: right operand of comma operator has no effect [-Wunused-value]
    6 |         cin>>x1,x2;
      |                   ^
foo.cc:7:9: error: 'y1' was not declared in this scope; did you mean 'x1'?
    7 |         y1=x1+x2;
      |         ^~
      |         x1
foo.cc:8:9: error: 'y2' was not declared in this scope; did you mean 'x2'?
    8 |         y2=x1*x2;
      |         ^~
      |         x2
foo.cc:9:9: error: 'y3' was not declared in this scope
    9 |         y3=x1%x2;
      |         ^~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1078 xf1-1两数和、积、余
语言
C++
递交时间
2023-09-16 13:03:34
评测时间
2023-09-16 13:03:34
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes