← All problemsSign in

Luther and Employees

Luther is a manager working in the firm Mathemagicians Incorporated. He is faced with a task of assigning roles to new employees of the firm: There are N new employees, numbered 1 to N, and M types of employment roles, numbered 1 to M. Each person must be offered exactly one type of role in the firm. Different people are suited to different roles: P[i][j] gives the productivity value of the ith

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start