← All problemsSign in

HIGHEST MARKS

Chef likes to keep a check of the highest marks scored by him in each size groups of college curriculum. But chef is very lazy and writes all the marks scored in a serial manner Ai without writing the group names. chef knows the number of groups he want K. Given an array A[] which tells the marks scored.Print the highest marks scored in each group in serial order. ### Input - First Line of inp

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