Compile Error
foo.cc:15:7: warning: integer constant is too large for its type 15 | int f[9999999999999999999999999999999999999999999999]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ foo.cc:15:5: error: size of array ‘f’ exceeds maximum object size ‘9223372036854775807’ 15 | int f[9999999999999999999999999999999999999999999999]; | ^ foo.cc: In function ‘int main()’: foo.cc:21:9: error: ‘f’ was not declared in this scope 21 | f[1]=f[2]=1; | ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1629 A2-2 循环结构入门:斐波拉契数列
- 语言
- C++
- 递交时间
- 2025-04-05 14:50:30
- 评测时间
- 2025-04-05 14:50:30
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes