To write the key path, found that the graph theory has already forgotten a mess, sorrow, grasp the review. Turn to high-level Ben and saw the front of the greedy, so then the greedy to practice a bit. Wrote a few older topics, like a building block contest. After the whim of the practice of the Stack class. All in all, this two-week exercise is quite messy. Let's stick to some of the questions you've done recently.
Expression Evaluation Special Training
codevs1750 addition expression
(Comes with a slot: read-in Optimization GetChar (), but note that the return value is 1, so you can't use "!" and the last time you can't read it, just add it.
codevs2715 expression arithmetic
(Comes with a spit groove: high-precision + string processing no longer use that deceptive strtok function, although strstr is difficult to use, but still use this bar only one point but the wrong one number what's going on? So debugging for nearly one hours even Li Guo can not solve the problem finally in a number of a number of debugging out of Tut tears originally if a number only 16, the 16th place, but did not handle, so there is this situation! The lesson is too careless! )
Prim
codevs1078 minimum spanning tree/shortest network =codevs2627 Village pass
(Comes with The Spit groove: Yes you did not read wrong, three questions, exactly, from Usaco, but the topic is different ... )
Codevs1003 Telephone Connection
Kruscal
codevs2627 Cun Cun Tong
codevs1231 Optimal Cabling Problem Kruskal
And check the Set exercises
codevs1073 Relatives/Family (path compression version, path is not fully compressed version) (so-called full compression, is not only in the time of find compression, when merging two connected components directly connected to the root)
1536 Village Pass (with spit Groove: Yes this is still called Village Tong Tut but he is not the same, he played a Kruskal, the label is a graph theory, is actually a naked and check set = = weak)
codevs3372 Choose Genius and check Pack backpack [because the backpack will not write to finish]
Lonely Brush Water problem
Limit recursion of codevs3521 genius
Recursive calculation of codevs1011 number
codevs3143 two binary tree sequence traversal search
codevs1501 two fork tree maximum width and height recursion
(Comes with a spit groove: Finally took the long-haul ladder silver past ... But why is golden almost exclusively DP )
Because the above topics feel basically are bare template problems, so it is not all the code, paste a few typical bar
And check the set:
Minimum spanning tree:
Hope the code chip reference is normal, my IQ low today want to try Markdown unfortunately failed tut
I wish Xboi the four warriors who went to the province to choose the Colosseum to slay the dragon. All smooth, I wish the next oil field one of the United States and his small partners all the smooth, I wish the good man Ty King noodles Happy ~
--cut bamboo by the way, see the small pond, water especially qinglie.
"Daily study" two weeks before and after the Qingming summary