foo.cc:15:10: error: ISO C++ forbids declaration of 'Initial' with no type [-fpermissive]
15 | Initial(){ for(int i = 0;i<10000;i++) v.push_back(0); }
| ^
foo.cc: In member function 'int BigInt::Initial()':
foo.cc:15:56: warning: no return statement in function returning non-void [-Wreturn-type]
15 | Initial(){ for(int i = 0;i<10000;i++) v.push_back(0); }
| ^
foo.cc: In member function 'BigInt& BigInt::operator=(const BigInt&)':
foo.cc:53:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
53 | for(int i = 0;i<b.v.size();i++)
| ~^~~~~~~~~~~
foo.cc: In member function 'bool BigInt::operator<(BigInt&)':
foo.cc:72:2: warning: control reaches end of non-void function [-Wreturn-type]
72 | }
| ^
[Hydro](https://hydro.ac)提供评测服务