prize.cpp: In function 'int find_best(int)':
prize.cpp:120:32: warning: left operand of comma operator has no effect [-Wunused-value]
debug("My lollipop is %d\n" , lollipop) ;
^~~~~~~~
prize.cpp:8:12: warning: left operand of comma operator has no effect [-Wunused-value]
#define ff first
^
prize.cpp:152:74: 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:12: warning: right operand of comma operator has no effect [-Wunused-value]
#define ff first
^
prize.cpp:152:74: 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:12: warning: right operand of comma operator has no effect [-Wunused-value]
#define ss second
^
prize.cpp:152:83: 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:12: warning: right operand of comma operator has no effect [-Wunused-value]
#define ff first
^
prize.cpp:152:92: 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:99: 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:12: warning: right operand of comma operator has no effect [-Wunused-value]
#define ss second
^
prize.cpp:152:107: 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:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
prize.cpp: In function 'int findR(int, int)':
prize.cpp:110:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
prize.cpp: In function 'int find_best(int)':
prize.cpp:162:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^