文件名称:hire-and-fire-6
- 所属分类:
- 控制台(字符窗口)编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2015-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- your****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
在这个问题中,你被要求跟踪组织的变化工作人员的层次结构。作为一个组织的人生第一大事,首席执行官(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