目前分類:AtCoder Beginner Contest 179 (5)
- Sep 20 Sun 2020 18:47
AtCoder Beginner Contest 179 E - Sequence Sum
- Sep 20 Sun 2020 18:41
AtCoder Beginner Contest 179 D - Leaping Tak
題目大意: 給K個不相交的區間,問你說透過這些區間內的值,從0走到N有多少種走法。
思路: Dp, 裡面又dp。沒解出這題,雖然知道dp裡面又dp,一直想到區間更新的線段樹。然後就不想做。用Prefix Sum,怎麼說呢
- Sep 20 Sun 2020 18:34
AtCoder Beginner Contest 179 C - A x B + C
- Sep 20 Sun 2020 18:30
AtCoder Beginner Contest 179 B - Go to Jail
- Sep 20 Sun 2020 18:22
AtCoder Beginner Contest 179 A - Plural Form