记录详情

Wrong Answer

foo.cc: In member function ‘SeqList SeqList::intersection(const SeqList&) const’:
foo.cc:21:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   21 |         while (i < sortedA.size() && j < sortedB.size()) {
      |                ~~^~~~~~~~~~~~~~~~
foo.cc:21:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   21 |         while (i < sortedA.size() && j < sortedB.size()) {
      |                                      ~~^~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 2ms 504.0 KiB
#2 Wrong Answer Standard answer longer than user output. 2ms 508.0 KiB
#3 Wrong Answer Standard answer longer than user output. 2ms 764.0 KiB
#4 Wrong Answer Standard answer longer than user output. 2ms 504.0 KiB
#5 Wrong Answer Standard answer longer than user output. 2ms 504.0 KiB

信息

递交者
类型
递交
题目
P1016 OO3-3 有序顺序表类的合并运算
语言
C++
递交时间
2025-04-04 16:13:00
评测时间
2025-04-04 16:13:00
评测机
分数
0
总耗时
12ms
峰值内存
764.0 KiB