はまやんはまやんはまやん

hamayanhamayan's blog

2017-12-03から1日間の記事一覧

Shopping Street [AtCoder Beginner Contest 080 C]

https://beta.atcoder.jp/contests/abc080/tasks/abc080_cN個の店があり、時間帯1~10について営業しているか与えられる。 F[i][j] := i番目の店で時間帯jに営業しているか(=0:してない, =1:してる) この場合に自分の店を時間帯1~10で営業させるかどうかを…

Harshad Number [AtCoder Beginner Contest 080 B]

https://beta.atcoder.jp/contests/abc080/tasks/abc080_b

Parking [AtCoder Beginner Contest 080 A]

https://beta.atcoder.jp/contests/abc080/tasks/abc080_a

Factory [CODE THANKS FESTIVAL 2017 C]

https://code-thanks-festival-2017-open.contest.atcoder.jp/tasks/code_thanks_festival_2017_c

Concatenated Palindrome [CODE THANKS FESTIVAL 2017 B]

https://code-thanks-festival-2017-open.contest.atcoder.jp/tasks/code_thanks_festival_2017_b

Time Penalty [CODE THANKS FESTIVAL 2017 A]

https://code-thanks-festival-2017-open.contest.atcoder.jp/tasks/code_thanks_festival_2017_a

Ithea Plays With Chtholly [Codeforces Round #449 B]

http://codeforces.com/contest/896/problem/B N枚の白紙の紙がある ここに1~Cの数を1つだけ書く(もし既に数が書いてあれば上書き) M個の数が順番に与えられるので、N枚の紙のいずれかに書いていく。 その結果、書かれた数が非減少列となるようにせよ。 …

Nephren gives a riddle [Codeforces Round #449 A]

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]"? の漸化式で表現される…