题解链接题目链接https://arc061.contest.atcoder.jp/tasks/arc061_b题目Problem StatementWe have a grid with $H$ rows and $W$ columns. At first, all cells were painted white.Snuke painted N of these cells. The $...
题解链接题目链接https://arc060.contest.atcoder.jp/tasks/arc060_b题目Problem StatementFor integers b(b≥2) and n(n≥1), let the function f(b,n) be defined as follows:$f(b,n)=n$, when $n<b$$f(b,n)=f(b, floor(...
题目链接https://arc060.contest.atcoder.jp/tasks/arc060_c题目Problem StatementN hotels are located on a straight line. The coordinate of the i-th hotel $(1≤i≤N)$ is $x_i$.Tak the traveler has the followin...
题目链接https://arc060.contest.atcoder.jp/tasks/arc060_a题目Problem StatementTak has $N$ cards. On the $i$-th $(1≤i≤N)$ card is written an integer $x_i$. He is selecting one or more cards from these $N$ ...
题目链接https://arc059.contest.atcoder.jp/tasks/arc059_d题目Problem StatementSig has built his own keyboard. Designed for ultimate simplicity, this keyboard only has $3$ keys on it: the 0 key, the 1 key ...