← All problemsSign in

HAPPY EMPLOYEE

Who doesn't like salary hikes? In script, the freshers work for free during their training period. But now since their training period is over and since it is script the rules over here are quite weird. All employees over here don't get salary hikes, rather it depends on the HR who randomly selects some employees and increases their salary. There are N number of freshers and their initial salar

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