You need to analyze every sentence and its content very carefully to understand the task and so find a solution.
"You want to hire some employees."
Your main task => the result should be a solution "I will hire that team or no one"
"There are N employees in total and each has skill U and wants salary V."
This is your starting point. N employes with a skill and salary.
Code may
class Employee {
string name; int skill; int salary; };
These employees are in a group which you can use an
vector. And these groups you must rate via adding salaries and skills.