记录详情

Runtime Error

/in/foo.cc: In member function 'void SeqList::FindiSecondMax()':
/in/foo.cc:36:13: warning: variable 'max2' set but not used [-Wunused-but-set-variable]
         int max2;
             ^~~~
/in/foo.cc:61:31: warning: 'p2' may be used uninitialized in this function [-Wmaybe-uninitialized]
         if (data[p] == data[p2]) {
                               ^
/in/foo.cc:61:19: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
         if (data[p] == data[p2]) {
                   ^
/in/foo.cc:62:23: warning: 'p3' may be used uninitialized in this function [-Wmaybe-uninitialized]
             cout << p3;
                       ^
# 状态 耗时 内存占用
#1 Accepted 1ms 200.0 KiB
#2 Wrong Answer 1ms 212.0 KiB
#3 Runtime Error 1ms 204.0 KiB
#4 Runtime Error 1ms 208.0 KiB
#5 Wrong Answer 1ms 212.0 KiB

信息

递交者
类型
递交
比赛
中北数据结构课程赛事二:顺序表类的操作
语言
C++
递交时间
2019-03-10 19:53:26
评测时间
2019-03-10 19:53:26
评测机
分数
20
总耗时
8ms
峰值内存
212.0 KiB