文件名称:hire-and-fire-6
介绍说明--下载内容来自于网络,使用问题请自行百度
在这个问题中,你被要求跟踪组织的变化工作人员的层次结构。作为一个组织的人生第一大事,首席执行官(CEO)的名字命名。随后,可能会发生任何数量的员工和火灾。该组织(包括CEO)的任何成员都可以雇佣任意数量的直接下属和组织(包括CEO)的任何成员都可以被解雇。该组织的层级结构可以用一棵树来表示。-Descr iption
In this problem, you are asked to keep track of the hierarchical structure of an organization s changing staff. As the first event in the life of an organization, the Chief Executive Officer (CEO) is named. Subsequently, any number of hires and fires can occur. Any member of the organization (including the CEO) can hire any number of direct subordinates, and any member of the organization (including the CEO) can be fired. The organization s hierarchical structure can be represented by a tree.
In this problem, you are asked to keep track of the hierarchical structure of an organization s changing staff. As the first event in the life of an organization, the Chief Executive Officer (CEO) is named. Subsequently, any number of hires and fires can occur. Any member of the organization (including the CEO) can hire any number of direct subordinates, and any member of the organization (including the CEO) can be fired. The organization s hierarchical structure can be represented by a tree.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
hire and fire 6.cpp
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
