Give those children some marks!
CodeChefOpen on judge ↗
The children in the school are to have their final results announced today! There are in total 1-N roll numbers of students. The children have received their scores but are unhappy with the marks they received. So they flock around teacher A in large groups to increase their marks. While at the same time, another teacher, Teacher B asks the students to say their marks. However, teacher B has a w
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