← All problemsSign in

Assignment Score

CodeChefRating 794Open on judge ↗

Chef has a total of $N + 1$ assignments. He knows his score on the first $N$ of them, and he is now working on his last assignment. His scores in the first $N$ assignment are $A_1, A_2, ..., A_N$. Each of them are graded out of $100$ marks, and his total marks is just a sum of all his $N + 1$ assignment marks. Chef is now worried about he might fail in his course. He will fail if he scores less t

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