24h購物| | PChome| 登入
與好友分享這篇文章

[UVA] 10672 - Marbles on a tree

Problem E: Marbles on a tree n boxes are placed on the vertices of a rooted tree, which are numbered from 1 to n, 1 ≤ n ≤ 10000. Each box is either empty or contains a number of marbles; the total number of marbles is n. The task is to move th...

新聞台: Morris' Blog | 台長:Morris
收件者E-mail:

請以分號區隔每個E-mail
例如:john@pchome.com.tw;mary@pchome.com.tw
信件標題:
與你分享這篇文章
訊息內容:
很精采的好文章!
如果你也喜歡,請轉寄給好友幫忙增加人氣吧!
您的名字:
Morris
TOP