Lateral Entry
CodeChefOpen on judge ↗
Problem: In a college, during the 2nd year of a particular batch, lateral entry students joined the college. Before this, the number of students in all the sections of a branch was equal. After this number of students in most of the classrooms are different. There are $N$ branches in the college. for every $N(i)th$ branch there are $M$ sections. for every $M(I)th$ section students count is given
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