记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:24:17: error: 'min' undeclared (first use in this function)
  printf("%d\n", min);  // 8
                 ^~~
/in/foo.c:24:17: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:23:6: warning: unused variable 'max' [-Wunused-variable]
  int max=FindMin(a, n);
      ^~~
/in/foo.c:21:6: warning: unused variable 'i' [-Wunused-variable]
  int i, a[]={1,5,2,5,4}, n=8;
      ^

信息

递交者
类型
递交
题目
A7-2 数组的极值函数
比赛
泰院2405作业赛第一场
语言
C
递交时间
2024-10-22 08:43:02
评测时间
2024-10-22 08:43:02
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes