![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
パナソニックプログラミングコンテスト(AtCoder Beginner Contest 186)
パナソニックプログラミングコンテスト(AtCoder Beginner Contest 186) - AtCoder
https://atcoder.jp/contests/abc186
-
masashinakata
- 2332
- 1
- 0
- 0
![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
パナソニックプログラミングコンテスト、疲れ果てていて出られず…🛌 atcoder.jp/contests/abc186
2020-12-19 21:01:34![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
コドフォの話です A: 隣接の差のGCDに気づくのはすぐだったんだけど,それのGCDとa[0]+b[j]のGCDを取ればいいだけに気づくのに時間かかった B: dp[i][j][k]: i番目まで見てj個選んで容量の最大がkのときに選んだ器に入っている水の最大量.後で追加する奴らの量は全体の量から引けばわかる
2020-12-19 21:34:33