Compile Error
/in/foo.c: In function 'main':
/in/foo.c:8:4: error: 'new' undeclared (first use in this function)
a=new int[n];
^~~
/in/foo.c:8:4: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:8:8: error: expected ';' before 'int'
a=new int[n];
^~~
/in/foo.c:9:10: warning: unused variable 'j' [-Wunused-variable]
int i=0,j=0,t=0;
^
信息
- 递交者
- 类型
- 递交
- 题目
- A2-2 循环结构入门:斐波拉契数列
- 比赛
- 泰院2401程序设计基础作业赛第二场
- 语言
- C
- 递交时间
- 2024-10-28 16:25:40
- 评测时间
- 2024-10-28 16:25:40
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes