← All problemsSign in

Exams are over!

You appeared for the final exams in your school. Your parents will gift you some present if you pass the final exams. You had **N** subjects and to pass the final exams the total marks you get of all the N subjects should be *more than* the half of the total maximum marks. All the marks are shown to you and you are eager to know whether you passed or failed the exam. ###Input - The first line co

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