阅读背景:

hdu3974Assignthetask(dfs序上线段树)

来源:互联网 

Problem Description

There is a company that has N employees(numbered from 1 to N),every employee in the company has a immediate boss (except for the leader of whole company).If you are the immediate boss of someone,that person is your subordinate, and all his subordinates are your subordinates as well. If you are nobody"s boss, then you have no subordinates,the employee who has no immediate boss is the leader of whole company.So it means the N employees form a tree. There is a company that has



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: