← All problemsSign in

Chef Fantasy 11

CodeChefRating 739Open on judge ↗

All of Chef's friends are playing fantasy cricket based upon the ODI World Cup, and Chef would like to join them. For a certain cricket match, Chef has decided upon his team of $11$ players. However, he hasn't yet decided who should be the captain and who should be the vice-captain. He's narrowed his decision down to $N$ players out of the $11$, from which he'll choose one to be the captain an

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start