University Exams
CodeChefOpen on judge ↗
The University results for the exams have just been declared. The colleges have received marks of N students. Now the teachers want to form groups of students for a seminar. However they do not want students having same marks in one group. They decide to pick random sub-arrays from the array of marks of N students. The teacher wants to find the number of students having different marks in that sub
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