http://homepage2.nifty.com/ugnosusume/kakusi/step-3.html
↑の答えが3時間やってもわからないソースにヒントがあるんだけど
さっぱり意味分からない