记录详情

Wrong Answer

In member function 'void SeqList::Append2(int)',
    inlined from 'SeqList::SeqList(int)' at foo.cc:23:11,
    inlined from 'int main()' at foo.cc:85:14:
foo.cc:28:19: warning: 's1.SeqList::n' may be used uninitialized [-Wmaybe-uninitialized]
   28 |                 a[n++]=x;
      |                   ^
foo.cc: In function 'int main()':
foo.cc:85:17: note: 's1' declared here
   85 |         SeqList s1(n);
      |                 ^~
# 状态 耗时 内存占用
#1 Wrong Answer Read 3, expect 5. 3ms 764.0 KiB
#2 Wrong Answer User output longer than standard answer. 3ms 536.0 KiB
#3 Wrong Answer User output longer than standard answer. 3ms 320.0 KiB
#4 Wrong Answer User output longer than standard answer. 2ms 324.0 KiB
#5 Wrong Answer User output longer than standard answer. 2ms 536.0 KiB

信息

递交者
类型
递交
题目
P1014 OO3-1 无序顺序表类的基本运算
比赛
2024春 面向对象的程序设计方法(第1场作业赛)
语言
C++
递交时间
2024-03-19 08:16:24
评测时间
2024-03-19 08:16:24
评测机
分数
0
总耗时
14ms
峰值内存
764.0 KiB