Organization and The Visitors
CodeChefOpen on judge ↗
Problem description. There are N employees working in an organisation. The organisation is structures in such a way that each Employee has some employees working under him.You are given with the salary of each employee and the employees working under him.Each employee will have exactly one boss. Now the head of the organisation comes to visit and increases the salary of any employee and the empl
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