Codechef Programming Problem Solutions