Academic Registration
CodeChefOpen on judge ↗
Winter vacations have ended and you have come back to the institute for "Academic Registration". Nothing comes easy in life. So to add to your misery, you have to select which courses you will study in the coming semester. There are N courses. Name for each course is a string of lower case alphabets. You are given P sets of courses, where each set contains exactly two courses. You need to select
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