AtCoder上にある問題のうち、AtCoder Problemsでdiff 800以上と判定されているものを順番に解いていく企画。
基本的な考え方は全てコード中のコメントに入れてあるので、参照のこと。
出典:
AtCoder Beginner Contest 182 E – Akari
ライト毎に全てを確認しているとTLEなので、可能な限り簡単な数え方を考える必要がある。
[pastacode lang=”python” user=”scrblbug” repos=”atcoder” path_id=”python/abc182_e.py” revision=”” highlight=”” lines=”” provider=”github”/]