
笔记
文章平均质量分 86
香橙之殇
这个作者很懒,什么都没留下…
展开
-
J - 再贪一心
Description某国为了防御敌国的导弹袭击,发展出一种导弹拦截系统.但是这种导弹拦截系统有一个缺陷:虽然它的第一发炮弹能够到达任意的高度,但是以后每一发炮弹都不能超过前一发的高度.某天,雷达捕捉到敌国的导弹来袭.由于该系统还在试用阶段,所以只有一套系统,因此有可能不能拦截所有的导弹.怎么办呢?多搞几套系统呗!你说说倒蛮容易,成本呢?成本是个大问题啊.所以俺就到这里来求救了,请原创 2016-11-15 23:47:34 · 318 阅读 · 0 评论 -
负数取余
刚刚做了一道题,其中有部分是关于负数取余的,一开始不知道怎么取余,上网搜了下,好像挺麻烦的,不同的操作环境有不同的规则……然后我就自己用我的编译器试了下,下面的规则适用于我的编译器……无奈脸,至于其他的,以后会了再补吧…… a%b=|a| % |b| ,其中最后结果与a的符号相同……原创 2017-05-15 20:57:11 · 1030 阅读 · 2 评论 -
Largest Rectangle in a Histogram(最大长方形)
Largest Rectangle in a HistogramTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 17827 Accepted Submission(s): 5330Problem Descr原创 2017-04-03 14:55:30 · 365 阅读 · 0 评论 -
Collection Game
Collection GameTime Limit: 1000 MS Memory Limit: 128000 KDescriptionPOI and POJ are pair of sisters, one is a master in “Kantai Collection”, another is an excellent competitor in ACM progr原创 2017-04-03 13:22:42 · 244 阅读 · 0 评论 -
Codeforces Round #368 (Div. 2) B. Bakery
B. Bakerytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputMasha wants to open her own bakery and bake muffins in one原创 2017-03-15 15:10:08 · 301 阅读 · 0 评论 -
Java Beans ZOJ 3714
Java BeansTime Limit: 2 Seconds Memory Limit: 65536 KB There are N little kids sitting in a circle, each of them are carrying some java beans in their hand. Their teacher want to sel原创 2017-04-08 14:32:41 · 279 阅读 · 0 评论 -
POJ 1030 Delta-wave
Delta-wave Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 8863 Accepted Submission(s): 3519Problem DescriptionA triangle原创 2017-03-13 17:39:22 · 368 阅读 · 0 评论 -
Density of Power Network ZOJ 3708
Density of Power NetworkTime Limit: 2 Seconds Memory Limit: 65536 KB The vast power system is the most complicated man-made system and the greatest engineering innovation in the 20th原创 2017-04-07 21:48:41 · 313 阅读 · 0 评论 -
Friends ZOJ 3710
FriendsTime Limit: 2 Seconds Memory Limit: 65536 KB Alice lives in the country where people like to make friends. The friendship is bidirectional and if any two person have no less t原创 2017-04-07 16:54:14 · 513 阅读 · 1 评论 -
康拓展开 之 我排第几个
我排第几个时间限制:1000 ms | 内存限制:65535 KB难度:3描述 现在有"abcdefghijkl”12个字符,将其所有的排列中按字典序排列,给出任意一种排列,说出这个排列在所有的排列中是第几小的?输入第一行有一个整数n(0随后有n行,每行是一个排列;输出输出一个整数m,占一行,m表示排列是第几位;样例输入3abcdefghijklhg原创 2016-12-27 20:07:28 · 606 阅读 · 0 评论 -
独木舟上的旅行
独木舟上的旅行 时间限制:3000 ms | 内存限制:65535 KB描述 进行一次独木舟的旅行活动,独木舟可以在港口租到,并且之间没有区别。一条独木舟最多只能乘坐两个人,且乘客的总重量不能超过独木舟的最大承载量。我们要尽量减少这次活动中的花销,所以要找出可以安置所原创 2016-11-23 10:44:40 · 383 阅读 · 0 评论 -
H - H HDU 1559
H -HTime Limit:10000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 1559Description给你一个m×n的整数矩阵,在上面找一个x×y的子矩阵,使子矩阵中所有元素的和最大。Input输入数据原创 2016-11-22 12:23:43 · 281 阅读 · 0 评论 -
CoderForces 23B
G -GTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 23BDescriptionn people came to a party. Then those, who had no frien原创 2016-11-22 09:29:32 · 581 阅读 · 0 评论 -
F - F FZU 1150
F -FTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticeFZU 1150DescriptionPeter has n cigarettes. He smokes them one by one keeping all原创 2016-11-22 09:24:08 · 367 阅读 · 0 评论 -
C - C HDU 5391
C -CTime Limit:1500MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 5391DescriptionTina Town is a friendly place. People there care about each ot原创 2016-11-22 09:01:26 · 295 阅读 · 0 评论 -
J - Longest Ordered Subsequence
J -Longest Ordered SubsequenceTime Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmitStatusDescriptionA numeric sequence of ai is ordered if a1 a2 < ... <a原创 2016-11-18 14:17:12 · 470 阅读 · 0 评论 -
H - 计算几何初步
Description我会给你N 个点的坐标,你来判断这 N个 点最多能组成 多少个 完全不同 的锐角三角形。Input第一行给出T(T≤10),代表有T组数据。每组数据首先给出N(1≤n≤100),接着有N行,每行给出两个整数x y(0≤|x|, |y|≤1,000,000) ,代表该点在平面直角坐标系中的坐标Output原创 2016-11-16 11:37:51 · 349 阅读 · 0 评论 -
HDU 1005 Number Sequence
Number SequenceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 178891 Accepted Submission(s): 44454Problem DescriptionA numbe原创 2017-09-09 19:52:56 · 271 阅读 · 0 评论