2017-12-03から1日間の記事一覧
https://beta.atcoder.jp/contests/abc080/tasks/abc080_cN個の店があり、時間帯1~10について営業しているか与えられる。 F[i][j] := i番目の店で時間帯jに営業しているか(=0:してない, =1:してる) この場合に自分の店を時間帯1~10で営業させるかどうかを…
https://beta.atcoder.jp/contests/abc080/tasks/abc080_b
https://beta.atcoder.jp/contests/abc080/tasks/abc080_a
https://code-thanks-festival-2017-open.contest.atcoder.jp/tasks/code_thanks_festival_2017_c
https://code-thanks-festival-2017-open.contest.atcoder.jp/tasks/code_thanks_festival_2017_b
https://code-thanks-festival-2017-open.contest.atcoder.jp/tasks/code_thanks_festival_2017_a
http://codeforces.com/contest/896/problem/B N枚の白紙の紙がある ここに1~Cの数を1つだけ書く(もし既に数が書いてあれば上書き) M個の数が順番に与えられるので、N枚の紙のいずれかに書いていく。 その結果、書かれた数が非減少列となるようにせよ。 …
http://codeforces.com/contest/896/problem/Af[0] = What are you doing at the end of the world? Are you busy? Will you save us? f[i] = What are you doing while sending "f[i - 1]"? Are you busy? Will you send "f[i - 1]"? の漸化式で表現される…