0_0_16504240_16616.cpp: In function 'int main()': 0_0_16504240_16616.cpp:40:33: error: expected ';' before 'else' if(sum[1]<x)printf("-1\n") else printf("%d\n",query(x,1,h,1)); ^