← All problemsSign in

Ciel and Quiz Game

CodeChefRating 2460Open on judge ↗

Chef Ciel is going to organize a quiz game in her restaurant. Ciel has N problems, and she will choose K problems for the quiz game. Every participant has to answer all K problems. Ciel thinks that if a participant solves all K problems correctly, the participant will get bored, and if a participant solves less problems correctly, the participant will feel sad. Therefore, Ciel decides to choose K

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