
二分
文章平均质量分 79
nka_kun
ACMer
展开
-
2016 China-Final Ice Cream Tower(二分)
Ice Cream TowerInput file: Standard InputOutput file: Standard OuptutTime limit: 6 secondsMr. Panda likes ice cream very much especially the ice cream tower. An ice cream tower consistsof K ice cream balls stacking up as a tower. In order to make the原创 2017-11-07 18:08:33 · 329 阅读 · 0 评论 -
Codeforces Round #409C Voltage Keepsake(二分)
C. Voltage Keepsaketime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou have n devices that you want to use simultaneously.The i-th device uses ai units of power per second. This usage is continuo原创 2017-10-14 21:03:33 · 344 阅读 · 0 评论 -
Tree Requests (dfs序,二进制优化,好题)
Tree Requeststime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputRoman planted a tree consisting of n vertices. Each vertex contains a lowercase English letter. Vertex 1 is the root of the tree, each o原创 2017-11-03 21:33:54 · 501 阅读 · 0 评论 -
蓝桥杯 A Careful Approach(二分)
问题描述 如果你认为参加一个编程比赛让你感到有压力,那么请你想象你是一个空中交通管制员。因为人命关天,所以一个空中交通管制员必须在时刻变化的环境中专注于任务,解决不可预知的事件。 让我们将目光转向飞机的着陆流程。飞机进入目的地飞航情报区之后,就会报告自己的位置、方向和速度,然后管制员就需要制定计划让所有飞机按指令安全着陆。一般来说,连续的两次着陆之间间隔时间越长,就越安全。因为这些额外的时间能...原创 2018-03-11 12:42:03 · 459 阅读 · 1 评论 -
CodeForces - 140C New Year Snowmen(贪心)
New Year SnowmenAs meticulous Gerald sets the table and caring Alexander sends the postcards, Sergey makes snowmen. Each showman should consist of three snowballs: a big one, a medium one and a small ...原创 2018-03-05 16:34:17 · 403 阅读 · 0 评论 -
CodeForces - 609D Gadgets for dollars and pounds(二分)
Gadgets for dollars and poundsNura wants to buy k gadgets. She has only s burles for that. She can buy each gadget for dollars or for pounds. So each gadget is selling only for some type of currency. ...原创 2018-03-22 11:17:18 · 373 阅读 · 0 评论 -
Codeforces Round #426 (Div. 2)The Meaningless Game(思维+二分)
lastyona and her loyal dog Pushok are playing a meaningless game that is indeed very interesting.The game consists of multiple rounds. Its rules are very simple: in each round, a natural number k is chosen. Then, the one who says (or barks) it faster tha原创 2017-07-31 01:24:48 · 1122 阅读 · 0 评论 -
HDU-6406 Taotao Picks Apples
Taotao Picks Apples Time Limit: 2000/2000 MS (Java/Others) P...原创 2018-08-16 10:01:53 · 268 阅读 · 0 评论 -
CodeForces - 1077E Thematic Contests(二分好题)
题目链接:http://codeforces.com/problemset/problem/1077/E题意:给出n个题目,每个题目都有一个主题,现在让你安排若干场考试,每场考试的题目数量恰好是前一场的2倍,并且他们的主题是相同的,问最多能用掉多少题目?思路:我们想要用掉尽量多的题目,但是策略比较难定,因为用掉的题目多少跟我们第一场考试用掉的题目多少好像没有直接关系,为了产生这样的...原创 2018-11-30 12:42:51 · 445 阅读 · 0 评论