Compiler output
prog.cpp: In function 'int main()':
prog.cpp:22:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<arr.size(); j++){
^
prog.cpp:25:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<arr.size();i++)
^
prog.cpp:27:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<arr2.size();i++)
^
prog.cpp:29:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<arr2.size();i++)
^
prog.cpp:34:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<arr.size();i++){
^