Some online judge programms' solutions