Compile Error
foo.cpp: In function 'int main()': foo.cpp:7:5: error: expected initializer before 'for' for(int i=0;i<l;++i)t[i]=true; ^ foo.cpp:7:17: error: 'i' was not declared in this scope for(int i=0;i<l;++i)t[i]=true; ^ foo.cpp:11:30: error: 't' was not declared in this scope for(int j=a;j<=b;++j)t[j]=false; ^ foo.cpp:14:28: error: 't' was not declared in this scope for(int i=0;i<l;++i)if(t[i])++s; ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1103 校门外的树
- 语言
- C++
- 递交时间
- 2015-09-27 09:35:26
- 评测时间
- 2015-09-27 09:35:26
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes