THE BUNKING GUY
CodeChefOpen on judge ↗
There are N students in a class, roll numbered from 1 to N. When a student doesn't like a subject, he bunks the lecture. But for a given lecture only one student bunks and rest all attends. The teacher wants to find out the roll number of the student bunking the lecture. So for a given N and an array A of length N-1, help the teacher in finding the missing student. ###Input: The first line c
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