hdu5336 多校联合第四场1010 模拟+bfs优先队列

http://acm.hdu.edu.cn/showproblem.php?pid=5336 Problem Description XYZ is playing an interesting game called "drops". It is played ...

2015-07-31 21:08:48

阅读数 623

评论数 0

hdu5335 多校联合第四场1009 搜索

http://acm.hdu.edu.cn/showproblem.php?pid=5335 Problem Description In an n∗m maze, the right-bottom corner is the exit (position (n,m) is the ...

2015-07-31 14:19:03

阅读数 626

评论数 2

hdu5325 树的思维题

http://acm.hdu.edu.cn/showproblem.php?pid=5325 Problem Description Bobo has a tree,whose vertices are conveniently labeled by 1,2,...,n.Each ...

2015-07-29 18:46:44

阅读数 706

评论数 2

hdu5294||2015多校联合第一场1007 最短路+最大流

http://acm.hdu.edu.cn/showproblem.php?pid=5294 Problem Description Innocent Wu follows Dumb Zhang into a ancient tomb. Innocent Wu’s at t...

2015-07-21 21:11:49

阅读数 1064

评论数 0


http://acm.hdu.edu.cn/showproblem.php?pid=5289 Problem Description Tom owns a company and he is the boss. There are n staffs which are number...

2015-07-21 21:06:42

阅读数 1452

评论数 5

hdu 5288||2015多校联合第一场1001题

http://acm.hdu.edu.cn/showproblem.php?pid=5288 Problem Description OO has got a array A of size n ,defined a function f(l,r) represent the nu...

2015-07-21 20:59:58

阅读数 877

评论数 0

hdu1043 bfs 康拓展开

http://acm.hdu.edu.cn/showproblem.php?pid=1043 Problem Description The 15-puzzle has been around for over 100 years; even if you don't know i...

2015-07-21 10:41:11

阅读数 531

评论数 0

hdu2181 dfs

http://acm.hdu.edu.cn/showproblem.php?pid=2181 Problem Description 一个规则的实心十二面体,它的 20个顶点标出世界著名的20个城市,你从一个城市出发经过每个城市刚好一次后回到出发的城市。    ...

2015-07-19 20:53:58

阅读数 429

评论数 0

hdu 4123 树形DP+RMQ

http://acm.hdu.edu.cn/showproblem.php?pid=4123 Problem Description Bob wants to hold a race to encourage people to do sports. He has got trou...

2015-07-17 21:26:17

阅读数 832

评论数 2

hdu 4122 单调队列

http://acm.hdu.edu.cn/showproblem.php?pid=4122 Problem Description The Mid-Autumn Festival, also known as the Moon Festival or Zhongqiu Festi...

2015-07-16 13:09:32

阅读数 1338

评论数 0

hdu5282 最长公共子序列的变形

http://acm.hdu.edu.cn/showproblem.php?pid=5282 Problem Description Xuejiejie loves strings most. In order to win the favor of her, a young ma...

2015-07-14 11:28:09

阅读数 1009

评论数 0

hdu4081 次小生成树变形

http://acm.hdu.edu.cn/showproblem.php?pid=4081 Problem Description During the Warring States Period of ancient China(476 BC to 221 BC), there...

2015-07-13 11:54:58

阅读数 705

评论数 0

poj 1679 次小生成树

http://poj.org/problem?id=1679 Description Given a connected undirected graph, tell if its minimum spanning tree is unique.  Definition 1 (S...

2015-07-13 11:42:11

阅读数 740

评论数 0

CF555B 贪心

http://codeforces.com/problemset/problem/555/B B. Case of Fugitive time limit per test 3 seconds memory limit per test 256 megabytes...

2015-07-12 09:43:01

阅读数 678

评论数 0

poj1737 组合dp

http://poj.org/problem?id=1737 Description An undirected graph is a set V of vertices and a set of E∈{V*V} edges.An undirected graph is connect...

2015-07-10 21:08:46

阅读数 1051

评论数 0

CF3C 暴力

http://codeforces.com/problemset/problem/3/C C. Tic-tac-toe time limit per test 1 second memory limit per test 64 megabyte...

2015-07-10 11:59:48

阅读数 594

评论数 0

CF3B 贪心

http://codeforces.com/problemset/problem/3/B A group of tourists is going to kayak and catamaran tour. A rented lorry has arrived to...

2015-07-09 21:34:15

阅读数 629

评论数 0

hdu 4057 AC自动机+状态压缩dp

http://acm.hdu.edu.cn/showproblem.php?pid=4057 Problem Description Dr. X is a biologist, who likes rabbits very much and can do everything fo...

2015-07-08 11:51:52

阅读数 828

评论数 0

hdu4055 dp

http://acm.hdu.edu.cn/showproblem.php?pid=4055 Problem Description The signature of a permutation is a string that is computed as follows: fo...

2015-07-07 20:25:18

阅读数 1457

评论数 1

UVALive 6665 最短路

http://acm.hust.edu.cn/vjudge/contest/view.action?cid=81769#problem/E /** UVALive 6665 最短路 题目大意:给定一个3*3的棋盘,里面有8个现有的棋子,然后移动棋子,从初始状态到目标状态最少花费是多少? 解题思...

2015-07-05 12:17:09

阅读数 648

评论数 0

取消 删除