/in/foo.cc: In member function 'int M::SetNumber(std::__cxx11::string)':
/in/foo.cc:28:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < s.length(); i++) {
~~^~~~~~~~~~~~
/in/foo.cc: In member function 'M M::operator+(const M&)':
/in/foo.cc:80:27: warning: iteration 99 invokes undefined behavior [-Waggressive-loop-optimizations]
ans.number[i + 1] = ans.number[i] / this->base;
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:77:23: note: within this loop
for (int i = 0; i < 100 ; i++) {
~~^~~~~