Definite and Perpendicular
CodeChefOpen on judge ↗
Long time back in the city of Wasseypur a party was being organized by Ramadhir Singh. The two prodigies of Wasseypur Definite and Perpendicular decide to have some fun at the party. They tell N guests present at the party to choose a lucky number of their choice. The guests are assigned unique numbers starting from 0 in increasing order. No more than two guests will have same lucky number. The gu
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