
DFS
Wangzning_
这个作者很懒,什么都没留下…
展开
-
HDU - 1078 FatMouse and Cheese 记忆化搜索
FatMouse has stored some cheese in a city. The city can be considered as a square grid of dimension n: each grid location is labelled (p,q) where 0 <= p < n and 0 <= q < n. At each grid lo...原创 2019-03-31 21:10:23 · 180 阅读 · 0 评论 -
Election of Evil dfs
题目描述 Dylan is a corrupt politician trying to steal an election. He has already used a mind-control technique toenslave some set U of government representatives. However, the representatives who will...原创 2019-04-10 21:14:55 · 310 阅读 · 0 评论