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