Hi, I am Code
The true test of a man's character is what he does when no one is watching.
我是個對電腦科學有興趣的學生,我會貼上我的學習歷程及生活心情,也請大大們多多指教。 :)
顯示具有
Ural
標籤的文章。
顯示所有文章
顯示具有
Ural
標籤的文章。
顯示所有文章
2014年3月16日 星期日
[Ural] 1018 Binary Apple Tree
題目網址:
http://acm.timus.ru/problem.aspx?num=1018
題意: 給定一顆二叉樹,每枝樹枝上都包含Ni個蘋果(1<=i<=N),問最後要保留Q枝樹枝,蘋果數量最大。
閱讀更多 »
較舊的文章
首頁
訂閱:
文章 (Atom)