http://gary03170317.pixnet.net/blog/post/281040464-zerojudge%E7%A0%94%E7%A9%B6%E5%8F%B2a003
更多解法請看http://gary03170317.pixnet.net/blog