树形dp
int_Brosea
CS and CS
展开
-
Computer HDU 2196 (树形dp)
Computer HDU-2196 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 c...原创 2019-08-02 22:14:24 · 209 阅读 · 0 评论 -
HDU - 1011 Starship Troopers (树形dp)
HDU1011 You, the leader of Starship Troopers, are sent to destroy a base of the bugs. The base is built underground. It is actually a huge cavern, which consists of many rooms connected with tunnels. ...原创 2019-08-06 15:33:58 · 168 阅读 · 0 评论 -
CF-219D Choosing Capital for Treeland(树形dp)
CF-219D 题目描述 The country Treeland consists of n cities, some pairs of them are connected with unidirectional roads. Overall there are n - 1 roads in the country. We know that if we don’t take the dire...原创 2019-08-06 19:34:17 · 200 阅读 · 0 评论