哈希表 hash
elbadaernu
这个作者很懒,什么都没留下…
展开
-
HDU - 1425 sort
Problem Description 给你n个整数,请按从大到小的顺序输出其中前m大的数。Input 每组测试数据有两行,第一行有两个数n,m(0 < n,m<1000000),第二行包含n个各不相同,且都处于区间[-500000,500000]的整数。Output 对每组测试数据按从大到小的顺序输出前m大的数。Sample Input 5 3 3 -35 92 213 -644Samp原创 2017-04-14 11:52:06 · 312 阅读 · 2 评论 -
Snowflake Snow Snowflakes POJ - 3349
DescriptionYou 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 snowfl原创 2017-04-14 12:10:06 · 277 阅读 · 0 评论 -
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 a system (x1原创 2017-04-19 16:46:24 · 508 阅读 · 0 评论