![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
基本容器
linmory
头疼....太难了
展开
-
G - Lisp em (map)
Time Limit: 1000 MS Memory Limit: 131072 K DescriptionThere are two lists and they may be intersected with each other. You must judge if they are intersected and find the first node they have in co原创 2017-03-20 16:41:08 · 201 阅读 · 0 评论 -
hautoj1262: 魔法宝石
1262: 魔法宝石 题目描述 小s想要创造n种魔法宝石。小s可以用ai的魔力值创造一棵第i种魔法宝石,或是使用两个宝石合成另一种宝石(不消耗魔力值)。请你帮小s算出合成某种宝石的所需的最小花费。 输入 第一行为数据组数T(1≤T≤3)。 对于每组数据,首先一行为n,m(1≤n,m≤10^5)。分别表示魔法宝石种类数和合成魔法的数量。 之后一行n个数表示a1到an。(1≤ai≤10^9原创 2017-07-16 17:38:37 · 229 阅读 · 0 评论 -
hdu2072 单词数
lily的好朋友xiaoou333最近很空,他想了一件没有什么意义的事情,就是统计一篇文章里不同单词的总数。下面你的任务是帮助xiaoou333解决这个问题。 Input 有多组数据,每组一行,每组就是一篇小文章。每篇小文章都是由小写字母和空格组成,没有标点符号,遇到#时表示输入结束。 Output 每组只输出一个整数,其单独成行,该整数代表一篇文章里不同单词的总数。 Sample In原创 2017-10-20 17:37:46 · 166 阅读 · 0 评论 -
nyoj55-懒省事的小明(优先队列排序,set)
懒省事的小明时间限制:3000 ms | 内存限制:65535 KB 难度:3描述 小明很想吃果子,正好果园果子熟了。在果园里,小明已经将所有的果子打了下来,而且按果子的不同种类分成了不同的堆。小明决定把所有的果子合成一堆。 因为小明比较懒,为了省力气,小明开始想点子了: 每一次合并,小明可以把两堆果子合并到一起,消耗的体力等于两堆果子的重量之和。可以看出,所有的果子经过n-1次...原创 2018-01-08 11:14:05 · 300 阅读 · 0 评论 -
Alice and Bob HDU4268
Alice and Bob Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 5584 Accepted Submission(s): 1736 Problem Description Alice and Bob's原创 2018-04-19 19:58:07 · 139 阅读 · 0 评论 -
HDU6301
Distinct Values Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3244 Accepted Submission(s): 1051 Problem Description ...原创 2018-07-25 10:14:12 · 353 阅读 · 0 评论 -
hdu6351---Beautiful Now(暴力)
Beautiful Now Time Limit: 5000/2500 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Total Submission(s): 2815 Accepted Submission(s): 1026 Problem Description ...原创 2018-08-20 10:53:59 · 318 阅读 · 0 评论 -
Trace-----ACM-ICPC 2018 徐州赛区网络预赛
There's a beach in the first quadrant. And from time to time, there are sea waves. A wave ( xx , yy ) means the wave is a rectangle whose vertexes are ( 00 , 00 ), ( xx , 00 ), ( 00 , yy ), ( xx , yy ...原创 2018-09-17 19:21:57 · 183 阅读 · 0 评论