Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:6:21: error: expected ';' before 'int' 6 | cin>>a>>b>>c | ^ | ; 7 | int x,y,z; | ~~~ /in/foo.cc:8:9: error: 'x' was not declared in this scope 8 | x=max(a,max(b,c)); | ^ /in/foo.cc:9:9: error: 'z' was not declared in this scope 9 | z=min(a,min(b,c)); | ^ /in/foo.cc:10:9: error: 'y' was not declared in this scope 10 | y=a+b+c-x-z; | ^
信息
- 递交者
- 类型
- 递交
- 题目
- A1-2 分支结构练习:三数的特征值
- 比赛
- 2025程序设计与竞赛作业赛第一场(整装出发)
- 语言
- C++
- 递交时间
- 2025-09-27 20:52:29
- 评测时间
- 2025-10-03 02:18:22
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes