Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:12:19: error: 'n' was not declared in this scope int left=1,right=n,mid; ^ /in/foo.cc:15:5: error: 'mid' was not declared in this scope a[mid]=(left+right)/2; ^~~ /in/foo.cc:20:14: error: invalid types 'int [100001][std::ios_base&(std::ios_base&)]' for array subscript cout<<a[right]; ^
信息
- 递交者
- 类型
- 自测
- 题目
- P1848 记数问题
- 语言
- C++
- 递交时间
- 2018-09-07 19:04:23
- 评测时间
- 2018-09-07 19:04:23
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes