Rosetta Problems

Negative Doubling

https://atcoder.jp/contests/caddi2018/tasks/caddi2018_c