Compile Error
foo.c: In function 'main': foo.c:7:13: error: 'new' undeclared (first use in this function) 7 | int *gr=new int[n]; | ^~~ foo.c:7:13: note: each undeclared identifier is reported only once for each function it appears in foo.c:7:17: error: expected ',' or ';' before 'int' 7 | int *gr=new int[n]; | ^~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 比赛
- 2023 程序设计与竞赛(作业1:见面赛)
- 语言
- C
- 递交时间
- 2023-09-20 19:56:30
- 评测时间
- 2023-09-20 19:56:30
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes