Max Wages
CodeChefOpen on judge ↗
Three brothers, Nishit, Raj and Neelansh, have started a part-time job wherein their employer has put forward certain unusual conditions. - Employees can work only on weekdays and in a week, only one employee is allowed to work. - Employees aren't allowed to work for 2 consecutive weeks i.e. if, for instance, Nishit has worked in week 1, then he can't work in week 2 but will be able to work in
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