暴力
cainiaozjz
这个作者很懒,什么都没留下…
展开
-
UVA-10603 Fill(状态图的BFS+贪心)
UVA-10603 FillThere are three jugs with a volume of a, b and c liters. (a, b, and c are positive integers not greaterthan 200). The first and the second jug are initially empty, while the third is c...原创 2019-04-08 23:45:25 · 159 阅读 · 0 评论 -
UVA-1354 Mobile Computing(枚举二叉树)
Mobile Computing(枚举二叉树)There is a mysterious planet called Yaen, whose space is 2-dimensional. There are many beautifulstones on the planet, and the Yaen people love to collect them. They bring the ...原创 2019-04-08 23:52:10 · 165 阅读 · 0 评论 -
UVA-725 Division (暴力枚举排列)
UVA-725 Division (暴力枚举排列)Write a program that finds and displays all pairs of 5-digit numbers that between them use the digits 0through 9 once each, such that the first number divided by the second ...原创 2019-04-08 23:52:58 · 82 阅读 · 0 评论 -
UVA-140 Bandwidth (枚举排列 next_permutation)
UVA-140 Bandwidth (枚举排列: next_permutation)Given a graph (V, E) where V is a set of nodes and E is a set of arcs inV ×V , and an ordering on the elements in V , then the bandwidth of anode v is defi...原创 2019-04-08 23:54:08 · 107 阅读 · 0 评论 -
UVA-129 Krypton Factor (暴力枚举子列)
UVA-129 Krypton Factor (暴力枚举子列)You have been employed by the organisers of a Super Krypton Factor Contest in which contestantshave very high mental and physical abilities. In one section of the cont...原创 2019-04-08 23:54:45 · 120 阅读 · 0 评论 -
POJ-3279 Fliptile(爆枚优化)
Farmer John knows that an intellectually satisfied cow is a happy cow who will give more milk. He has arranged a brainy activity for cows in which they manipulate anM×Ngrid (1 ≤M≤ 15; 1 ≤N≤ 15)...原创 2019-04-22 17:28:18 · 197 阅读 · 0 评论