Wrong Answer
/in/foo.cc: In function 'int get(int)': /in/foo.cc:30:53: warning: statement has no effect [-Wunused-value] if(top>bot||Q[top][0]>=INF)return INF;else Q[top][0]; ~~~~~~~~^ /in/foo.cc:31:1: warning: control reaches end of non-void function [-Wreturn-type] } ^