Compiler output
prog.cpp: In member function 'int node::undo()':
prog.cpp:62:3: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
prog.cpp: In member function 'int node::set(int)':
prog.cpp:66:3: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
prog.cpp: In function 'int main()':
prog.cpp:4:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define repe(i,x,y) for (int i = (x); i < (y);i++)
^
prog.cpp:105:5: note: in expansion of macro 'repe'
repe(j,0,V.size()) {
^