はむこの勉強記録

http://bit.ly/2ktf20t の写し

2017-02-24から1日間の記事一覧

Codeforces #400 Div2 C - Molly's Chemicals

docs.google.com 類題として、Leetcode 512 Contiguous Arrayがある。 docs.google.com 区間和数え上げは、折れ線を値域から見るみたいなのが定石っぽい。 モノイドのreductionでも値域からみても良さそう。

Codeforces #400 Div2 B - Sherlock and his girlfriend

docs.google.com ちゃんと論理式レベルで考察しましょう。