Cheap Publicity
CodeChefOpen on judge ↗
INC Pradnya team wants to publicize their event so as to get maximum participants. Hence the official INC Pradnya'15 head decides to send messages to students in Pune. However he has very little balance left on his phone. He cannot invite everybody. He can send only K messages. A student receiving the message forwards it to all his friends. A person participates in the event only if he or she rec
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