Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:31:6: error: 'i' was not declared in this scope for(i=0;i<n;i++) ^ /in/foo.cc:36:2: error: 'start' was not declared in this scope start=0; ^~~~~ /in/foo.cc:53:21: error: 'num' was not declared in this scope cout<<"次数:"<<num<<endl; ^~~ /in/foo.cc:29:17: warning: unused variable 'strat' [-Wunused-variable] int n,a[N],key,strat,end,mid; ^~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1168 折半查找
- 语言
- C++
- 递交时间
- 2021-12-15 18:54:36
- 评测时间
- 2021-12-15 18:54:36
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes