Mindfire & its Employees
CodeChefOpen on judge ↗
Mindfire Solutions Ltd. wants to judge its employees based on their performance. You are given the list of an employee’s monthly performance details in form of an array from the day he started. Mindfire wants you to analyse the progress from Lth month to Rth month. The progress is calculated as follows:- 1. Sort the performance array from the interval L to R 2. Calculate the sum of squared diff
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