Kalakshetra
CodeChefOpen on judge ↗
*A lot of decoration work is still left to be done. The wheels and axle of the cardboard Rolls Royce alone took a week! We need more people ASAP!* There is $W$ work to be done and $k$ people have shown up to do the work. We want to split the $W$ work among the $k$ people equally, i.e., everyone must do **equal** work. Find the maximum total amount of work we can get done if everyone must do equal
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