foo.cc: In member function 'void gjd::Add(std::vector<int>&)':
foo.cc:31:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<v.size()&&i<v2.size())
~^~~~~~~~~
foo.cc:31:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<v.size()&&i<v2.size())
~^~~~~~~~~~
foo.cc:38:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<v.size())
~^~~~~~~~~
foo.cc:45:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<v2.size())
~^~~~~~~~~~
foo.cc: In member function 'void gjd::Sub(std::vector<int>)':
foo.cc:61:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<v.size()&&i<v1.size())
~^~~~~~~~~
foo.cc:61:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<v.size()&&i<v1.size())
~^~~~~~~~~~
foo.cc: In member function 'void gjd::Mul(int)':
foo.cc:81:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<v.size())
~^~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:145:12: warning: 'aa' may be used uninitialized in this function [-Wmaybe-uninitialized]
cout<<aa<<" "<<ans<<endl;
^~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务