Compiler output
prog.cpp: In function 'int main()':
prog.cpp:18:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define FOR(i, start, final) for (int i=start; i<=final; ++i)
^
prog.cpp:53:5: note: in expansion of macro 'FOR'
FOR(i,1,v.size() - 1) {
^
prog.cpp:18:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define FOR(i, start, final) for (int i=start; i<=final; ++i)
^
prog.cpp:79:5: note: in expansion of macro 'FOR'
FOR(i,0,sol.size() - 1) {
^
prog.cpp:18:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define FOR(i, start, final) for (int i=start; i<=final; ++i)
^
prog.cpp:89:5: note: in expansion of macro 'FOR'
FOR(i,0,sol.size() - 1) {
^