![](https://img-blog.csdnimg.cn/20190927151124774.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
其他:枚举
文章平均质量分 87
其他:枚举
LSD20164388
如果你过几天就忘了,那么你并没有真正的掌握。
展开
-
2019-2020 ICPC Southeastern European Regional Programming Contest (SEERC 2019) E. Life Transfer(大模拟)
传送门题意给你nnn,kkk表示nnn个人要出去玩,每辆车可以带kkk个人,再给你lc{l_c}lc,pc{p_c}pc,lm{l_m}lm,pm{p_m}pm分别表示开车需要达到的年龄,买一辆车的花费,骑摩托需要达到的年龄,买一辆摩托的花费(摩托不能载人,也就是一辆摩托只能一个人骑着去)。接下来给你ttt,ddd,表示nnn个人之间可以互相转移年龄,每转移111岁花费为ttt,每个人最多转移ddd岁(一个人的年龄不能低于111岁),最后给你nnn个人的年龄ai{a_i}ai。也就是说,原创 2020-11-14 12:55:31 · 369 阅读 · 0 评论 -
codeforces 1028C Rectangles(枚举)
C. Rectanglestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given nn rectangles on a plane with coordinates of their bo...原创 2018-08-28 10:09:04 · 930 阅读 · 0 评论 -
2015年ACM/ICPC合肥赛区 E题(二分图最大点独立集)
题目链接:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=5267题意:(真tm难读)给你一个n*m的土地,每个方格'.'表示空地,数字表示远古土地(一个连通块),然后你现在要建立牧场,可以建在空地上,也可...原创 2018-09-30 22:05:31 · 436 阅读 · 0 评论 -
2018年 ACM/ICPC亚洲区域赛 青岛赛区现场赛 D题(ZOJ 4061 枚举)
Magic MultiplicationTime Limit: 1 Second Memory Limit: 65536 KBBaoBao is now learning a new binary operation between two positive integers, represented by , in his magic book. The book tells ...原创 2018-11-09 10:24:31 · 761 阅读 · 0 评论 -
HDU 3486 Interviewe(枚举+RMQ)
IntervieweTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 8822 Accepted Submission(s): 2085 Problem DescriptionYaoYao has a company a...原创 2019-02-17 20:54:01 · 218 阅读 · 0 评论 -
HDU 4282 A very hard mathematic problem (暴力枚举+二分+各种剪枝)
A very hard mathematic problemTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8579 Accepted Submission(s): 2624 Problem Description ...原创 2019-02-17 21:27:02 · 443 阅读 · 0 评论 -
POJ 3080 Blue Jeans (枚举+KMP)
Blue JeansTime Limit: 1000MS Memory Limit: 65536K Total Submissions: 22188 Accepted: 9866 DescriptionThe Genographic Project is a research partnership between IBM and The Natio...原创 2019-02-26 19:25:42 · 151 阅读 · 0 评论 -
ZOJ 3941 Kpop Music Party (贪心+思维+枚举)
Kpop Music PartyTime Limit:2 Seconds Memory Limit:65536 KBMarjar University often hosts Kpop music festival. A Kpop music festival will last several days. During a Kpop festival, there will...原创 2019-05-06 17:26:48 · 299 阅读 · 0 评论