foo.cc: In member function 'void gjd::Init()':
foo.cc:25:5: error: 'class std::vector<int>' has no member named 'pudh_back'; did you mean 'push_back'?
v.pudh_back(1);
^~~~~~~~~
push_back
foo.cc: In member function 'void gjd::Add(std::vector<int>&)':
foo.cc:30:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<v.size()&&i<v2.size())
~^~~~~~~~~
foo.cc:30:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<v.size()&&i<v2.size())
~^~~~~~~~~~
foo.cc:37:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<v.size())
~^~~~~~~~~
foo.cc:44:10: 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:60:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<v.size()&&i<v1.size())
~^~~~~~~~~
foo.cc:60:22: 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:80:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<v.size())
~^~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务