记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:7:15: error: expected initializer before '==' token
    7 |         int y1==x1+x2,y2==x1*x2,y3==x1%x2;
      |               ^~
foo.cc:8:15: error: 'y1' was not declared in this scope; did you mean 'x1'?
    8 |         cout<<y1<<endl;
      |               ^~
      |               x1
foo.cc:9:15: error: 'y2' was not declared in this scope; did you mean 'x2'?
    9 |         cout<<y2<<endl;
      |               ^~
      |               x2
foo.cc:10:15: error: 'y3' was not declared in this scope
   10 |         cout<<y3<<endl;
      |               ^~
[Hydro](https://hydro.ac)提供评测服务

信息

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