记录详情

Compile Error

/in/foo.c: In function 'FindMaxs':
/in/foo.c:11:23: error: expected ')' before ';' token
     printf("%d",arr[i];
                       ^
/in/foo.c:12:4: error: expected ';' before '}' token
    }
    ^
/in/foo.c: In function 'main':
/in/foo.c:32:6: warning: unused variable 'maxs2' [-Wunused-variable]
  int maxs2=FindMaxs(arr2,n2);
      ^~~~~
/in/foo.c:31:6: warning: unused variable 'maxs1' [-Wunused-variable]
  int maxs1=FindMaxs(arr1,n1);
      ^~~~~
/in/foo.c: In function 'FindMaxs':
/in/foo.c:15:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

信息

递交者
类型
自测
题目
A9-7 数组中所有极大值
语言
C
递交时间
2024-10-03 21:38:34
评测时间
2024-10-03 21:38:34
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes