HASH
Cherry_0525
这个作者很懒,什么都没留下…
展开
-
【HASH判重】POJ - 1840 B - Eqs
B - Eqs POJ - 1840 Consider equations having the following form: a1x1^3+ a2x2^3+ a3x3^3+ a4x4^3+ a5x5^3=0 The coefficients are given integers from the interval [-50,50]. It is consider a solution...原创 2018-09-17 14:20:08 · 239 阅读 · 0 评论 -
【HASH】POJ - 1200 C - Crazy Search
C - Crazy Search POJ - 1200 Many people like to solve hard puzzles some of which may lead them to madness. One such puzzle could be finding a hidden prime number in a given text. Such number could b...原创 2018-09-17 16:04:16 · 98 阅读 · 0 评论 -
【HASH】 POJ - 2503 D - Babelfish
D - Babelfish POJ - 2503You have just moved from Waterloo to a big city. The people here speak an incomprehensible dialect of a foreign language. Fortunately, you have a dictionary to help you unde...原创 2018-09-17 19:47:54 · 113 阅读 · 0 评论 -
【哈希】牛客网 Wannafly挑战赛9 C 列一列
Wannafly挑战赛9 C 列一列题目描述时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 262144K,其他语言524288K64bit IO Format: %lld小W在计算一个数列{An},其中A1=1,A2=2,An+2=An+1+An。尽管他计算非常精准,但很快他就弄混了自己的草稿纸,他找出了一些他计算的结果,但他忘记了这些都是数列中的第几项。输入...原创 2018-09-14 20:28:31 · 187 阅读 · 0 评论 -
【字符串Hash模板题】 POJ - 3461 A - Oulipo
A - Oulipo POJ - 3461 The French author Georges Perec (1936–1982) once wrote a book, La disparition, without the letter 'e'. He was a member of the Oulipo group. A quote from the book:Tout avait...原创 2018-09-15 01:39:35 · 310 阅读 · 0 评论 -
【字符串hash模板】D - Pagodas HDU - 5512
D - Pagodas HDU - 5512 nn pagodas were standing erect in Hong Jue Si between the Niushou Mountain and the Yuntai Mountain, labelled from 11 to nn. However, only two of them (labelled aa and bb, wher...原创 2018-10-06 21:15:19 · 100 阅读 · 0 评论 -
【Map+哈希】 PTA 7-45 航空公司VIP客户查询
PTA 7-45 航空公司VIP客户查询7-45航空公司VIP客户查询(25 分)不少航空公司都会提供优惠的会员服务,当某顾客飞行里程累积达到一定数量后,可以使用里程积分直接兑换奖励机票或奖励升舱等服务。现给定某航空公司全体会员的飞行记录,要求实现根据身份证号码快速查询会员里程积分的功能。输入格式:输入首先给出两个正整数N(≤105)和K(≤500)。其中K是最低里程,即...原创 2019-03-12 11:51:55 · 525 阅读 · 0 评论