← All problemsSign in

Grading Paper

Chef is a professor of CMR Institute of Technology. He is grading the final year papers of his students. 1) He gives marks to students ranging from 0 to 100. 2) Any grade strictly smaller than 50 is a failing grade. Chef is partial towards his high scoring students. In order to increase grade of his passing students, he rounds up the grade to the next multiple of 5 of the passing students, if i

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