Rosetta Problems

ムーアの法則

https://atcoder.jp/contests/arc054/tasks/arc054_b