prize.cpp: In function 'int find_best(int)':
prize.cpp:120:36: warning: left operand of comma operator has no effect [-Wunused-value]
debug("My lollipop is %d\n" , lollipop) ;
^~~~~~~~
prize.cpp:8:16: warning: left operand of comma operator has no effect [-Wunused-value]
#define ff first
^
prize.cpp:152:78: note: in expansion of macro 'ff'
debug("I just splitted my interval from %d %d to %d %d %d %d\n" , topo.ff, topo.ss, topo.ff, l, r, topo.ss) ;
^~
prize.cpp:8:16: warning: right operand of comma operator has no effect [-Wunused-value]
#define ff first
^
prize.cpp:152:78: note: in expansion of macro 'ff'
debug("I just splitted my interval from %d %d to %d %d %d %d\n" , topo.ff, topo.ss, topo.ff, l, r, topo.ss) ;
^~
prize.cpp:9:16: warning: right operand of comma operator has no effect [-Wunused-value]
#define ss second
^
prize.cpp:152:87: note: in expansion of macro 'ss'
debug("I just splitted my interval from %d %d to %d %d %d %d\n" , topo.ff, topo.ss, topo.ff, l, r, topo.ss) ;
^~
prize.cpp:8:16: warning: right operand of comma operator has no effect [-Wunused-value]
#define ff first
^
prize.cpp:152:96: note: in expansion of macro 'ff'
debug("I just splitted my interval from %d %d to %d %d %d %d\n" , topo.ff, topo.ss, topo.ff, l, r, topo.ss) ;
^~
prize.cpp:152:103: warning: right operand of comma operator has no effect [-Wunused-value]
debug("I just splitted my interval from %d %d to %d %d %d %d\n" , topo.ff, topo.ss, topo.ff, l, r, topo.ss) ;
^
prize.cpp:9:16: warning: right operand of comma operator has no effect [-Wunused-value]
#define ss second
^
prize.cpp:152:111: note: in expansion of macro 'ss'
debug("I just splitted my interval from %d %d to %d %d %d %d\n" , topo.ff, topo.ss, topo.ff, l, r, topo.ss) ;
^~
prize.cpp: In function 'int findL(int, int)':
prize.cpp:97:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^
prize.cpp: In function 'int findR(int, int)':
prize.cpp:110:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^
prize.cpp: In function 'int find_best(int)':
prize.cpp:162:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^