哈希
文章平均质量分 80
IF_I
这个作者很懒,什么都没留下…
展开
-
Gold Balanced Lineup(POJ--3274
Description Farmer John's N cows (1 ≤ N ≤ 100,000) share many similarities. In fact, FJ has been able to narrow down the list of features shared by his cows to a list of only K different features原创 2015-08-13 15:40:47 · 332 阅读 · 0 评论 -
Babelfish(POJ--2503
Description You 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 understand them.原创 2015-08-12 15:34:02 · 279 阅读 · 0 评论 -
Snowflake Snow Snowflakes(POJ--3349
Description You may have heard that no two snowflakes are alike. Your task is to write a program to determine whether this is really true. Your program will read information about a collection of s原创 2015-08-12 10:38:21 · 371 阅读 · 0 评论 -
Squares(POJ--2002
Description A square is a 4-sided polygon whose sides have equal length and adjacent sides form 90-degree angles. It is also a polygon such that rotating about its centre by 90 degrees gives the sa原创 2015-08-12 09:37:21 · 243 阅读 · 0 评论 -
Eqs(POJ--1840
Description Consider equations having the following form: a1x13+ a2x23+ a3x33+ a4x43+ a5x53=0 The coefficients are given integers from the interval [-50,50]. It is consider a solution a system原创 2015-08-11 14:57:44 · 436 阅读 · 0 评论 -
哈希运用
A B C D E F G H I H - H Time Limit:4000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Submit Status Description Given a permutation P of 1 to N, YY wants to know wh原创 2015-01-24 17:09:08 · 236 阅读 · 0 评论 -
F--Maximum Value(CF--484B
Description You are given a sequence a consisting of n integers. Find the maximum possible value of (integer remainder of ai divided byaj), where 1 ≤ i, j ≤ n and ai ≥ aj. Input原创 2015-08-22 18:04:26 · 273 阅读 · 0 评论