Compiler output
prog.cpp: In function 'int main(int, const char**)':
prog.cpp:51:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < a.size(); ++i)
^
prog.cpp:53:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = i + 1; j < a.size(); ++j)
^
prog.cpp:59:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < b.size(); ++i)
^
prog.cpp:61:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = i + 1; j < b.size(); ++j)
^
prog.cpp:67:33: error: 'sort' was not declared in this scope
sort(c.begin(), c.end(), CMP);
^
prog.cpp:72:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(startc < c.size() && startd < d.size())
^
prog.cpp:72:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(startc < c.size() && startd < d.size())
^
prog.cpp: At global scope:
prog.cpp:24:14: warning: unused parameter 'argc' [-Wunused-parameter]
int main(int argc, const char * argv[])
^
prog.cpp:24:38: warning: unused parameter 'argv' [-Wunused-parameter]
int main(int argc, const char * argv[])
^