记录详情

Accepted

/in/foo.c: In function 'findMaxNeg':
/in/foo.c:15:12: warning: 'index' may be used uninitialized in this function [-Wmaybe-uninitialized]
     return index;
            ^~~~~
/in/foo.c: In function 'main':
/in/foo.c:33:5: warning: 'index' may be used uninitialized in this function [-Wmaybe-uninitialized]
     printf("%d %d", a[findMaxNeg(a, n1)], b[findMaxNeg(b, n2)]);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:33:5: warning: 'index' may be used uninitialized in this function [-Wmaybe-uninitialized]
# 状态 耗时 内存占用
#1 Accepted 1ms 332.0 KiB
#2 Accepted 1ms 212.0 KiB
#3 Accepted 1ms 340.0 KiB
#4 Accepted 1ms 248.0 KiB
#5 Accepted 1ms 212.0 KiB

信息

递交者
类型
递交
题目
A9-3 数组中最大的负数
比赛
2023年新生赛(第三场)
语言
C
递交时间
2023-09-09 19:43:31
评测时间
2023-09-09 19:43:31
评测机
分数
100
总耗时
6ms
峰值内存
340.0 KiB