Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:7:14: error: conflicting declaration 'char sum [100]' char sum[100]; ^ /in/foo.cc:5:12: note: previous declaration as 'int sum' int k1,k2,sum=0; ^~~ /in/foo.cc:8:2: error: 's' was not declared in this scope s[0]=1; ^ /in/foo.cc:14:12: error: 'j' was not declared in this scope for(int i=j-1;i<k2;i++) ^
信息
- 递交者
- 类型
- 递交
- 题目
- 1-2 斐波那契数列的和
- 语言
- C++
- 递交时间
- 2019-03-04 16:05:40
- 评测时间
- 2019-03-04 16:05:40
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes