ZOJ3707 Calculate Prime S 數論好題目啊
這道題目真的很難啊,不是那麼好做的,現場比賽若是遇到這個 真心很難去花時間研究,我做了好久 WA了 10多把終於過了 總是做算法,不如來個陶冶情操的文章一
LeetCode | Binary Tree Inorder Traversal
題目 Given a binary tree, return the inorder traversal of its nodes values.
hdu_1147 Pick_up sticks
Stan has n sticks of various length. He throws them one at a time on the floo
HDU 1676 Full Tank? 限制最短路(difficult)
點擊打開鏈接 Full Tank? Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 3
hdu 1429勝利大逃亡(續) / sdut 2193 救基友記3(BFS)
做了熱身賽http://blog.csdn.net/u013081425/article/details/21740001 之後發現這道題好
[LeetCode] [動態規劃] Word Break
Given a string s and a dictionary of words dict, determine if s can be segme
HDU 1561 The more, The Better / 樹形DP
樹形DP 選m個節點權值加起來最大 因為可能是森林 就是都沒有限制就可以選 去一個超級源點0 這樣就是一棵樹了 然後就是基礎的樹形DP了 D
PAT: 1054. The Dominant Color (20)
1054. The Dominant Color (20) 時間限制 100 ms 內存限制 32000 kB 代碼長度限制 160