DarkLight needs to Know
CodeChefOpen on judge ↗
DarkLight is a man of chaos and luckily got imposter after $2345457$ rounds of playing the "infinite belt" variation among us with his friends. A permutation of the $N$ players signifies the order in which they are eliminated(either get killed or ejected on voting) from the round. Imposters are said to have won the round **if at some point** the number of crewmates cannot dominate the number of
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