记录详情

Accepted

/in/foo.cc: In function 'double findMedianSortedArrays(std::vector<int>&, std::vector<int>&)':
/in/foo.cc:11:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     while(i<nums1.size() && j<nums2.size())
           ~^~~~~~~~~~~~~
/in/foo.cc:11:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     while(i<nums1.size() && j<nums2.size())
                             ~^~~~~~~~~~~~~
/in/foo.cc:22:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(i==nums1.size())
        ~^~~~~~~~~~~~~~
/in/foo.cc:24:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         while(j<nums2.size())
               ~^~~~~~~~~~~~~
/in/foo.cc:27:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     else if(j==nums2.size())
             ~^~~~~~~~~~~~~~
/in/foo.cc:29:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         while(i<nums1.size())
               ~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 708.0 KiB
#2 Accepted 4ms 848.0 KiB
#3 Accepted 6ms 508.0 KiB
#4 Accepted 3ms 336.0 KiB
#5 Accepted 4ms 456.0 KiB
#6 Accepted 4ms 336.0 KiB
#7 Accepted 5ms 456.0 KiB
#8 Accepted 2ms 332.0 KiB
#9 Accepted 3ms 336.0 KiB
#10 Accepted 3ms 324.0 KiB

信息

递交者
类型
递交
题目
xxyw1-1数组的中位数
比赛
小兰赛3-17
语言
C++
递交时间
2019-03-17 08:06:32
评测时间
2019-03-17 08:06:32
评测机
分数
100
总耗时
44ms
峰值内存
848.0 KiB