Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:13:15: error: 'sort' was not declared in this scope sort(a,a+3); ^ /in/foo.cc:21:45: error: lvalue required as left operand of assignment else if(a[0]+n-1 = a[2] && a[1]+1 == a[2]){ ^ /in/foo.cc:25:45: error: lvalue required as left operand of assignment else if(a[0]+n-1 = a[2] && a[0]+1 == a[1]){ ^ /in/foo.cc:14:9: warning: unused variable 'temp' [-Wunused-variable] int temp; ^~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1152 肥猫的游戏
- 语言
- C++
- 递交时间
- 2018-10-16 21:05:57
- 评测时间
- 2018-10-16 21:05:57
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes