← All problemsSign in

Irresponsible Chef and his Problem

Chef has created a problem for Code Benders 2022 but he forgot to assign it a difficulty level, so he wants to do this while the event is live. Instead of manually assigning it, he decides to do this with the help of live data. For this he is jotting down the total number of submissions for the problem __$S_{i}$__ and the number of correct submissions $C_{i}$ from time to time. Since the chef is q

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