记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:11:11: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
   scanf("%d",arr[i]);
           ^
/in/foo.c:33:8: warning: unused variable 'max' [-Wunused-variable]
    int max=I;
        ^~~
/in/foo.c:36:14: error: 'max' undeclared (first use in this function)
  printf("%d",max);
              ^~~
/in/foo.c:36:14: note: each undeclared identifier is reported only once for each function it appears in

信息

递交者
类型
自测
题目
A6-4 最大公约数专题:多个数的最大公约数
语言
C
递交时间
2024-10-02 22:22:32
评测时间
2024-10-02 22:22:32
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes