It is Christmas
CodeChefOpen on judge ↗
Christmas is a festival of merry.Siddharth, a lover of solving puzzles, is gifted with a present by Santa Grandpa.Enthusiastic Siddharth, tried to open the gift,but Santa being tricky, made it difficult for Siddharth by locking the gift.A key(number) can unlock the gift.Now,Siddharth got a brain stormer.He is given $N$ numbers and of them he need to pick $k$ numbers with the condition : - The num
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