My CODECHEF.com solutions