Aizu Online Judgeの解答(Introduction to Programming I)