Compiler output
prog.cpp: In function 'void df(int)':
prog.cpp:28:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
prog.cpp: In function 'void df2(int, int)':
prog.cpp:107:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
prog.cpp:77:14: warning: unused variable 'dmax' [-Wunused-variable]
prog.cpp: In function 'void df(int)':
prog.cpp:43:17: warning: 'fmax' may be used uninitialized in this function [-Wmaybe-uninitialized]