记录详情

Accepted

/in/foo.cc: In function 'int FindMaxNeg(int*, int)':
/in/foo.cc:16:12: warning: 'maxneg' may be used uninitialized in this function [-Wmaybe-uninitialized]
     return maxneg;
            ^~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:32:33: warning: 'maxneg' may be used uninitialized in this function [-Wmaybe-uninitialized]
     cout << FindMaxNeg(a,n1) << " " << FindMaxNeg(b,n2);
                                 ^~~
/in/foo.cc:32:56: warning: 'maxneg' may be used uninitialized in this function [-Wmaybe-uninitialized]
     cout << FindMaxNeg(a,n1) << " " << FindMaxNeg(b,n2);
                                                        ^
# 状态 耗时 内存占用
#1 Accepted 1ms 500.0 KiB
#2 Accepted 1ms 824.0 KiB
#3 Accepted 1ms 260.0 KiB
#4 Accepted 1ms 220.0 KiB
#5 Accepted 1ms 212.0 KiB

信息

递交者
类型
递交
题目
A9-3 数组中最大的负数
比赛
数据结构课堂练习9-9
语言
C++
递交时间
2019-09-09 11:10:42
评测时间
2019-09-09 11:10:42
评测机
分数
100
总耗时
7ms
峰值内存
824.0 KiB