Bluff Master
CodeChefOpen on judge ↗
There are N persons standing above a light floor (which works on transpose and conquer algorithm to switch the light on and off) forming a loop. Objective of game is to find the bluff master. The game starts by switching on the light below the first person then second, then third respectively and switches off at ith position. So the person at ith position from beginning of the loop gets eliminated
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