
Hash
文章平均质量分 75
AC__GO
程序猿
展开
-
hdu1264 Counting Squares hash暴力
Description Your input is a series of rectangles, one per line. Each rectangle is specified as two points(X,Y) that specify the opposite corners of a rectangle. All coordinates will be integers in th...原创 2018-07-24 08:59:16 · 507 阅读 · 0 评论 -
HDOJ 1280 前m大的数
Description 还记得Gardon给小希布置的那个作业么?(上次比赛的1005)其实小希已经找回了原来的那张数表,现在她想确认一下她的答案是否正确,但是整个的答案是很庞大的表,小希只想让你把答案中最大的M个数告诉她就可以了。 给定一个包含N(N<=3000)个正整数的序列,每个数不超过5000,对它们两两相加得到的N*(N-1)/2个和,求出其中前M大的数(M<=1000...原创 2018-07-24 09:06:11 · 300 阅读 · 0 评论