记录详情

Accepted

/in/foo.cc: In function 'int find_i_min_pos(int*, int)':
/in/foo.cc:12:12: warning: 'i_min' may be used uninitialized in this function [-Wmaybe-uninitialized]
     return i_min;
            ^~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:25:66: warning: 'i_min' may be used uninitialized in this function [-Wmaybe-uninitialized]
     printf("%d %d", find_i_min_pos(a, n1), find_i_min_pos(b, n2));
                                                                  ^
/in/foo.cc:25:66: warning: 'i_min' may be used uninitialized in this function [-Wmaybe-uninitialized]
# 状态 耗时 内存占用
#1 Accepted 1ms 340.0 KiB
#2 Accepted 1ms 364.0 KiB
#3 Accepted 1ms 348.0 KiB
#4 Accepted 1ms 340.0 KiB
#5 Accepted 1ms 340.0 KiB

信息

递交者
类型
递交
题目
A9-2 数组中最小正数的下标
比赛
南师大(含泰州学院)2024年新生赛(第二场之预赛)
语言
C++
递交时间
2024-08-24 15:49:42
评测时间
2024-08-24 15:49:42
评测机
分数
100
总耗时
7ms
峰值内存
364.0 KiB