← All problemsSign in

SB and his Assignment

Saikat basu has given N number of pages to write as assignment. WBUT students know that SB will never check the assignment, so what they do is write 1 page per day and then xerox it and can double it as many times as they want in a single day i.e they can have (1,2,4.......) number of pages in a single day. Given N pages to submit you need to calculate the minimum number of days that will be requi

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start