Rosetta Problems

Fraction of Fractal

https://atcoder.jp/contests/agc003/tasks/agc003_f