×

Loading...

请教一下,这道题咋做?用C++。先谢谢

struct Problem;

struct Solution;

class Skill {

public:

Skill() = default;

Solution Solve(Problem problem);

}

// Implement class to represent an engineer. Each engineer could have multiple skills.

// Implement class to represent a team. Each team could have multiple engineers.

// A team class needs to provide a Solve function: given a problem, whether it could be solved

// and what is the solution. A problem could be solved if there is an engineer in the team that

// could provide a solution to it.

Report

Replies, comments and Discussions: