记录详情

Compile Error

foo.c: In function 'main':
foo.c:5:19: error: redeclaration of 'n' with no linkage
    5 |         int x,y,z,n;
      |                   ^
foo.c:4:13: note: previous declaration of 'n' with type 'int'
    4 |         int n;
      |             ^
foo.c:9:17: error: 'max' undeclared (first use in this function)
    9 |                 max=x;
      |                 ^~~
foo.c:9:17: note: each undeclared identifier is reported only once for each function it appears in
foo.c:5:19: warning: unused variable 'n' [-Wunused-variable]
    5 |         int x,y,z,n;
      |                   ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
1-4 最大值的个数
比赛
2022年迎新赛(第一场)
语言
C
递交时间
2022-08-15 19:04:31
评测时间
2022-08-15 19:04:31
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes