Solve AOJ1174
Merge branch 'master' of https://github.com/odanado/Programming-Contest
Fix AOJ1161