Codes for Spoj:Topcoder:Codechef:HackerEarth:HackerRank