文件名称:Party-at-Hali-Bula
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2013-12-10
- 文件大小:
- 595kb
- 下载次数:
- 0次
- 提 供 者:
- c**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
poj3342
Dear Contestant,
I m going to have a party at my villa at Hali-Bula to celebrate my retirement from BCM. I wish I could invite all my co-workers, but imagine how an employee can enjoy a party when he finds his boss among the guests! So, I decide not to invite both an employee and his/her boss. The organizational hierarchy at BCM is such that nobody has more than one boss, and there is one and only one employee with no boss at all (the Big Boss)! Can I ask you to please write a program to determine the maximum number of guests so that no employee is invited when his/her boss is invited too? I ve attached the list of employees and the organizational hierarchy of BCM.
Best,
--Brian Bennett
P.S. I would be very grateful if your program can indicate whether the list of people is uniquely determined if I choose to invite the maximum number of guests with that condition.-Dear Contestant,
I m going to have a party at my villa at Hali-Bula to celebrate my retirement from BCM. I wish I could invite all my co-workers, but imagine how an employee can enjoy a party when he finds his boss among the guests! So, I decide not to invite both an employee and his/her boss. The organizational hierarchy at BCM is such that nobody has more than one boss, and there is one and only one employee with no boss at all (the Big Boss)! Can I ask you to please write a program to determine the maximum number of guests so that no employee is invited when his/her boss is invited too? I ve attached the list of employees and the organizational hierarchy of BCM.
Best,
--Brian Bennett
P.S. I would be very grateful if your program can indicate whether the list of people is uniquely determined if I choose to invite the maximum number of guests with that condition.
Dear Contestant,
I m going to have a party at my villa at Hali-Bula to celebrate my retirement from BCM. I wish I could invite all my co-workers, but imagine how an employee can enjoy a party when he finds his boss among the guests! So, I decide not to invite both an employee and his/her boss. The organizational hierarchy at BCM is such that nobody has more than one boss, and there is one and only one employee with no boss at all (the Big Boss)! Can I ask you to please write a program to determine the maximum number of guests so that no employee is invited when his/her boss is invited too? I ve attached the list of employees and the organizational hierarchy of BCM.
Best,
--Brian Bennett
P.S. I would be very grateful if your program can indicate whether the list of people is uniquely determined if I choose to invite the maximum number of guests with that condition.-Dear Contestant,
I m going to have a party at my villa at Hali-Bula to celebrate my retirement from BCM. I wish I could invite all my co-workers, but imagine how an employee can enjoy a party when he finds his boss among the guests! So, I decide not to invite both an employee and his/her boss. The organizational hierarchy at BCM is such that nobody has more than one boss, and there is one and only one employee with no boss at all (the Big Boss)! Can I ask you to please write a program to determine the maximum number of guests so that no employee is invited when his/her boss is invited too? I ve attached the list of employees and the organizational hierarchy of BCM.
Best,
--Brian Bennett
P.S. I would be very grateful if your program can indicate whether the list of people is uniquely determined if I choose to invite the maximum number of guests with that condition.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Party at Hali-Bula\Debug\Party at Hali-Bula.exe
..................\.....\Party at Hali-Bula.ilk
..................\.....\Party at Hali-Bula.pdb
..................\Party at Hali-Bula\Debug\BuildLog.htm
..................\..................\.....\mt.dep
..................\..................\.....\Party at Hali-Bula.exe.embed.manifest
..................\..................\.....\Party at Hali-Bula.exe.embed.manifest.res
..................\..................\.....\Party at Hali-Bula.exe.intermediate.manifest
..................\..................\.....\Party at Hali-Bula.obj
..................\..................\.....\vc90.idb
..................\..................\.....\vc90.pdb
..................\..................\Party at Hali-Bula.cpp
..................\..................\Party at Hali-Bula.vcproj
..................\..................\Party at Hali-Bula.vcproj.PC-20111006IXRQ.Administrator.user
..................\Party at Hali-Bula.ncb
..................\Party at Hali-Bula.sln
..................\Party at Hali-Bula.suo
..................\..................\Debug
..................\Debug
..................\Party at Hali-Bula
Party at Hali-Bula