Compile Error
foo.cpp:14:7: error: 'MAXN' was not declared in this scope int d[MAXN+10]; ^ foo.cpp: In function 'bool ok(int)': foo.cpp:18:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ foo.cpp: In function 'int main()': foo.cpp:23:18: error: 'd' was not declared in this scope for(i=0;i<n;i++)d[i]=read(); ^ foo.cpp:21:8: warning: unused variable 'j' [-Wunused-variable] int i,j,k; ^ foo.cpp:21:10: warning: unused variable 'k' [-Wunused-variable] int i,j,k; ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1981 跳石头
- 语言
- C++
- 递交时间
- 2016-11-13 15:38:54
- 评测时间
- 2016-11-13 15:38:54
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes