记录详情

Compile Error

foo.c: In function 'main':
foo.c:7:17: error: 'n' undeclared (first use in this function)
    7 |         int num[n];
      |                 ^
foo.c:7:17: note: each undeclared identifier is reported only once for each function it appears in
foo.c:8:21: error: 'a' undeclared (first use in this function)
    8 |         scanf("%d",&a);
      |                     ^
foo.c:7:13: warning: unused variable 'num' [-Wunused-variable]
    7 |         int num[n];
      |             ^~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
5-4 最小公倍数
比赛
2023 程序设计与竞赛(作业3:中秋和国庆)
语言
C
递交时间
2023-10-01 19:45:27
评测时间
2023-10-01 19:45:27
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes