foo.cc: In function 'void Output(std::vector<int>&)':
foo.cc:12:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<v.size(); i++)
~^~~~~~~~~
foo.cc: In function 'void FindAsc(std::vector<int>&, std::vector<int>&)':
foo.cc:18:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v.size();i++)
~^~~~~~~~~
foo.cc: In function 'void MergeSubs(std::vector<int>&)':
foo.cc:32:2: error: expected ';' before 'for'
for(i=0;i+2<si.size();i+=2)
^~~
foo.cc:32:10: error: 'i' was not declared in this scope
for(i=0;i+2<si.size();i+=2)
^
foo.cc:32:10: note: suggested alternative: 'si'
for(i=0;i+2<si.size();i+=2)
^
si
[Hydro](https://hydro.ac)提供评测服务