Rohit on his birthday
CodeChefOpen on judge ↗
Rohit is celebreating his birthday. He invited all of his friends. He asks Saan to help him check wether all of the invited friends are present in the party or not. The number of friends being large to his decides to check the presence of of friend randomly. In the party every friend has a unique ID number. Saan is having a list containg ID numbers (in asecnding order) of the friends present in th
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