Solve SRM 600, Div 2, Problem NumberGameAgain

- 180.01 pts
- "1 << k" should be written as "1LL << k" or "pow(2,k)"