AtCoder上にある問題のうち、AtCoder Problemsでdiff 800以上と判定されているものを順番に解いていく企画。
基本的な考え方は全てコード中のコメントに入れてあるので、参照のこと。
出典:
AtCoder Beginner Contest 085 D – Katana Thrower
最終的には、どの刀を投げるかを全探索する問題といえる。しかし、Katana Throwerってそのまんまだよな……。
[pastacode lang=”python” user=”scrblbug” repos=”atcoder” path_id=”python/abc085_d.py” revision=”” highlight=”” lines=”” provider=”github”/]