Lexcorp Interns
CodeChefOpen on judge ↗
Problem description. Lex Luthor wants to hire a few interns for his company, Lexcorp. Each intern has a positive quality value and each is an expert in a few sub-areas of Computer Science. Lex wants to select the interns such that each field has atmost one intern, who is an expert in that field and the sum of quality over all the interns is maximised. Help Lex find the interns that may help him d
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