I am getting a compilation error while submitting horrible queries on SPOJ. When I run the code locally, there is no issue and I am getting correct output for the cases I've tried. Someone please take a look at my code and tell me why I am getting a compilation error. Here is my code,