Geeky Arun
CodeChefOpen on judge ↗
Everyone knows Kornala Arun is a very big Geek. He has a habit of reading books and he has a great taste in different subjects. He also has one more habit that - he reads twice as many pages on a day than he did a day before. He starts by reading only one page on the first day. You are given the number of pages Arun has read. Your task is to print the number of days which took him to read all tho
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start