Codeforces 1082 A. Vasya and Book-題意 (Educational Codeforces Round 55 (Rated for Div. 2))
Vasya is reading a e-book. The file of the book consists of nn pages, numbered from 1
Help Vasya to calculate the minimum number of times he needs to press a button to move to page