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++)
~~^~~~~~~~~~~~~~