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

ACdreamOJ 1726 hash

http://acdream.info/problem?pid=1726 Problem Description Recently, Losanto find an interesting Math game. The rule is simple: Tell you a numb...

2015-05-10 10:34:43

阅读数 742

评论数 0

hdu5183 hush

http://acm.hdu.edu.cn/showproblem.php?pid=5183 Problem Description When given an array (a0,a1,a2,⋯an−1) and an integer K, you are expecte...

2015-03-11 22:49:51

阅读数 989

评论数 0

poj 1840 简单hash

http://poj.org/problem?id=1840 Description Consider equations having the following form:  a1x13+ a2x23+ a3x33+ a4x43+ a5x53=0  The coefficien...

2015-01-01 20:10:48

阅读数 750

评论数 0

poj 3349 数组的hash(最常用、最普通的哈希表建立)

http://poj.org/problem?id=3349 Description You may have heard that no two snowflakes are alike. Your task is to write a program to determine wh...

2015-01-01 18:05:06

阅读数 2739

评论数 0

hdu 3973 字符串hash+线段树

http://acm.hdu.edu.cn/showproblem.php?pid=3973 Problem Description You are given some words {Wi}. Then our stupid AC will give you a very lon...

2014-12-29 19:34:32

阅读数 848

评论数 0

hdu 1496 hash+暴力

http://acm.hdu.edu.cn/showproblem.php?pid=1496 Problem Description Consider equations having the following form:  a*x1^2+b*x2^2+c*x3^2+d*x...

2014-12-29 10:50:56

阅读数 738

评论数 0

poj1200 哈希

http://poj.org/problem?id=1200 Description Many people like to solve hard puzzles some of which may lead them to madness. One such puzzle could...

2014-12-29 10:01:26

阅读数 2061

评论数 0

poj 3274 哈希

http://poj.org/problem?id=3274 Description Farmer John's N cows (1 ≤ N ≤ 100,000) share many similarities. In fact, FJ has been able to narrow ...

2014-12-28 21:34:16

阅读数 769

评论数 0

LA 4513 hash表示字符串后缀

https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=&problem=2514&mosmsg=Subm...

2014-12-27 11:06:51

阅读数 956

评论数 0

ACdreamOJ 1116 斐波那契数列+hash计算后缀

http://acdream.info/problem?pid=1116 Problem Description give you a string, please output the result of the following function mod 1000000007...

2014-12-26 21:01:14

阅读数 1004

评论数 0

AC dreamoj 1011 树状数组+hash维护字符串的前缀和

http://acdream.info/problem?pid=1019 Problem Description Now we have a long long string, and we will have two kinds of operation on it. C i y : ch...

2014-12-26 16:12:13

阅读数 692

评论数 0

hdu 4821 ||2013年长春站J题 字符串哈希+map的应用

http://acm.hdu.edu.cn/showproblem.php?pid=4821 Problem Description Given a string S and two integers L and M, we consider a substring of ...

2014-08-26 17:34:31

阅读数 870

评论数 0

提示
确定要删除当前文章?
取消 删除
关闭
关闭