These are codes solved by me for the questions present in SPOJ website