树型dp
傻不拉叽
这个作者很懒,什么都没留下…
展开
-
hdu2196:Computer
Problem Description A school bought the first computer some time ago(so this computer’s id is 1). During the recent years the school bought N-1 new computers. Each new computer was connected to one o原创 2018-01-30 17:45:39 · 239 阅读 · 0 评论 -
poj3107:Godfather
Problem Description Last years Chicago was full of gangster fights and strange murders. The chief of the police got really tired of all these crimes, and decided to arrest the mafia leaders.Unfortu原创 2018-01-31 11:22:01 · 239 阅读 · 0 评论 -
poj3140:Contestants Division
Problem Description In the new ACM-ICPC Regional Contest, a special monitoring and submitting system will be set up, and students will be able to compete at their own universities. However there’s on原创 2018-02-01 11:54:44 · 216 阅读 · 0 评论 -
hdu1520:Anniversary party
Problem Description There is going to be a party to celebrate the 80-th Anniversary of the Ural State University. The University has a hierarchical structure of employees. It means that the superviso原创 2018-01-30 11:36:06 · 174 阅读 · 0 评论