Compiler output
prog.cpp: In function 'void afis(std::vector<int>)':
prog.cpp:11:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v.size(); i++)
^
prog.cpp: In function 'int main()':
prog.cpp:40:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < v.size(); j++)
^
prog.cpp:51:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < v.size(); j++)
^
prog.cpp:31:13: warning: unused variable 'ok' [-Wunused-variable]
int ok = 1;
^