记录详情

Wrong Answer

In file included from /usr/include/c++/6/cassert:44:0,
                 from /in/foo.cc:3:
/in/foo.cc: In member function 'void Solution::merge(std::vector<int>&, int, std::vector<int>&, int)':
/in/foo.cc:16:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   assert(nums1.size() == m + n && nums2.size() == n);
          ~~~~~~~~~~~~~^~~~~~~~
/in/foo.cc:16:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   assert(nums1.size() == m + n && nums2.size() == n);
                                   ~~~~~~~~~~~~~^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:46:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < nums2.size(); i++)
                  ~~^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 320.0 KiB
#2 Wrong Answer 1ms 324.0 KiB
#3 Wrong Answer 1ms 324.0 KiB
#4 Wrong Answer 1ms 324.0 KiB
#5 Wrong Answer 1ms 316.0 KiB

信息

递交者
类型
递交
题目
A10-1 有序数组的合并
比赛
中北数据结构课程赛事二:顺序表类的操作
语言
C++
递交时间
2019-03-10 21:26:19
评测时间
2019-03-10 21:26:20
评测机
分数
0
总耗时
9ms
峰值内存
324.0 KiB