Hemu Class Attendance
CodeChefOpen on judge ↗
Problem Statement Hemu, the teacher knew that most of the students of his class were naughty and often went out of the class while he was writing on the board. Not all the students were bad. Sometimes, students went out of the class for a valid reason (you can figure out some yourself :P). Since, hemu wanted to concentrate on teaching he wanted to reward the students who were found sitting at the
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