write the codes for the problems of the website(http://hihocoder.com/)