/in/foo.cc: In function 'std::__cxx11::string addNegabinary(std::__cxx11::string, std::__cxx11::string)':
/in/foo.cc:16:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i < arr1.size() || i < arr2.size() || carry != 0) {
~~^~~~~~~~~~~~~
/in/foo.cc:16:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i < arr1.size() || i < arr2.size() || carry != 0) {
~~^~~~~~~~~~~~~
/in/foo.cc:18:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i < arr1.size()) sum += arr1[i] - '0';
~~^~~~~~~~~~~~~
/in/foo.cc:19:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i < arr2.size()) sum += arr2[i] - '0';
~~^~~~~~~~~~~~~