记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:6:19: error: 'n1' undeclared (first use in this function)
     scanf("%d%d",&n1,&n2);
                   ^~
/in/foo.c:6:19: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:6:23: error: 'n2' undeclared (first use in this function)
     scanf("%d%d",&n1,&n2);
                       ^~
/in/foo.c:11:20: warning: implicit declaration of function 'FindMaxNeg' [-Wimplicit-function-declaration]
     printf("%d %d",FindMaxNeg(a,n1),FindMaxNeg(b,n2);
                    ^~~~~~~~~~
/in/foo.c:11:53: error: expected ')' before ';' token
     printf("%d %d",FindMaxNeg(a,n1),FindMaxNeg(b,n2);
                                                     ^
/in/foo.c:13:1: error: expected ';' before '}' token
 }
 ^

信息

递交者
类型
递交
题目
A9-3 数组中最大的负数
语言
C
递交时间
2024-01-27 17:28:56
评测时间
2024-01-27 17:28:56
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes