
stl
sdau_blue
念念不忘,必有回响。驰而不息,功不唐捐。
展开
-
#1066 : 无间道之并查集(map+并查集)
#1066 : 无间道之并查集时间限制:20000ms单点时限:1000ms内存限制:256MB描述这天天气晴朗、阳光明媚、鸟语花香,空气中弥漫着春天的气息……额,说远了,总之,小Hi和小Ho决定趁着这朗朗春光出去玩。但是刚刚离开居住的宾馆不久,抄近道不小心走入了一条偏僻小道的小Hi和小Ho就发现自己的前方走来了几个彪形大汉,定睛一看还都是地地道道的黑人兄弟!小Hi和小Ho这下就慌了神,捡肥皂事小...原创 2018-03-13 17:37:00 · 210 阅读 · 0 评论 -
Passing the Message(单调栈)
Passing the MessageTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1086 Accepted Submission(s): 709 Problem DescriptionWhat a sunny d...原创 2019-02-10 20:52:40 · 253 阅读 · 0 评论 -
Max Sum of Max-K-sub-sequence (单调队列)
Max Sum of Max-K-sub-sequenceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 9826 Accepted Submission(s): 3639 Problem DescriptionGiv...原创 2019-02-10 16:38:46 · 679 阅读 · 0 评论 -
poj3250(优先队列)
Bad Hair DayTime Limit: 2000MS Memory Limit: 65536K Total Submissions: 23081 Accepted: 7910 DescriptionSome of Farmer John's N cows (1 ≤ N ≤ 80,000) are having a bad hair day! ...原创 2019-02-10 22:38:03 · 207 阅读 · 0 评论 -
Trace(set)
There's a beach in the first quadrant. And from time to time, there are sea waves. A wave ( xxx , yyy ) means the wave is a rectangle whose vertexes are ( 000 , 000 ), ( xxx , 000 ), ( 000 , yyy ), ( ...原创 2018-09-11 21:04:18 · 271 阅读 · 2 评论 -
C. Rectangles
C. Rectanglestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given nrectangles on a plane with coordinates of their bo...原创 2018-08-29 21:25:33 · 1632 阅读 · 0 评论 -
C. Maximal Intersection (multiset)
C. Maximal Intersectiontime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given nsegments on a number line; each endpoint...原创 2018-08-26 20:38:58 · 285 阅读 · 0 评论 -
singing contest——(vector(水题))
链接:https://www.nowcoder.com/acm/contest/144/A来源:牛客网 题目描述Jigglypuff is holding a singing contest. There are 2n singers indexed from 1 to 2n participating in the contest.The rule of this contest ...原创 2018-08-04 14:24:46 · 421 阅读 · 0 评论 -
Hiking——(优先队列priority_queue)
HikingTime Limit: 6000/3000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 1785 Accepted Submission(s): 910Special JudgeProblem DescriptionThere are n so...原创 2018-08-04 11:17:50 · 215 阅读 · 0 评论 -
#1105 : 题外话·堆
优先队列的水题时间限制:10000ms单点时限:1000ms内存限制:256MB描述小Ho有一个糖果盒子,每过一段时间小Ho都会将新买来的糖果放进去,同时他也会不断的从其中挑选出最大的糖果出来吃掉,但是寻找最大的糖果不是一件非常简单的事情,所以小Ho希望能够用计算机来他帮忙计算这个问题!提示:吃糖果吃多了会变胖的!输入每个测试点(输入文件)有且仅有一组测试数据。在一组测试数据中:第1行为1个整数N...原创 2018-04-06 17:30:07 · 136 阅读 · 0 评论 -
Japari Park is a large zoo
Japari Park is a large zoo home to extant species, endangered species, extinct species, cryptids and some legendary creatures. Due to a mysterious substance known as Sandstar, all the animals have bec...原创 2018-04-01 21:58:55 · 321 阅读 · 0 评论 -
poj2833(优先队列)
poj2833The AverageTime Limit: 6000MS Memory Limit: 10000K Total Submissions: 13177 Accepted: 3926 Case Time Limit: 4000MS DescriptionIn a speech contest, when a contestant ...原创 2019-02-10 22:37:49 · 601 阅读 · 0 评论