2018-01-21から1日間の記事一覧
http://codeforces.com/contest/914/problem/DN要素の配列Aがあり、2種類のクエリに答える。 クエリ1 : A[l,r]のgcdがほぼxかどうか判定する クエリ2 : A[i]をyに変更する※gcdがほぼxである -> 区間の数を1つ以下変更してgcdをxにできる
http://codeforces.com/contest/914/problem/Cあるxについて以下の変換を考える。 「g(x) := xを2ビット表記したときの1の個数の総和」 2進数表記された数Nが与えられる。 N以下の数でg(x)による変換をK回行うことで丁度1に出来る数は何個あるか(mod10^9+7)
http://codeforces.com/contest/914/problem/AN要素の配列Aがある。 この中のperfect squareでない数の中で最大の数を答えよ。 xがperfect squareである -> x=y^2となるyが存在する
https://beta.atcoder.jp/contests/arc089/tasks/arc089_b
https://beta.atcoder.jp/contests/arc089/tasks/arc089_a
https://beta.atcoder.jp/contests/colopl2018-final-open/tasks/colopl2018_final_d
https://beta.atcoder.jp/contests/colopl2018-final-open/tasks/colopl2018_final_c
https://beta.atcoder.jp/contests/colopl2018-final-open/tasks/colopl2018_final_b
https://beta.atcoder.jp/contests/colopl2018-final-open/tasks/colopl2018_final_a