二分
文章平均质量分 85
keepcoral
这个作者很懒,什么都没留下…
展开
-
初入算法篇(二分)poj2503
BabelfishTime Limit: 3000MS Memory Limit: 65536KTotal Submissions: 47350 Accepted: 19838DescriptionYou have just moved from Waterloo to a big city. The people here speak an incomprehensible dialect of...原创 2018-03-26 10:52:17 · 193 阅读 · 0 评论 -
Gym - 100283F F. Bakkar In The Army 二分
StatementsBakkar is now a senior college student studying computer science. And as many students; Bakkar fell in love with one of his finest colleagues Maymona. And as Bakkar has no brothers he is cou...原创 2018-04-12 13:49:40 · 288 阅读 · 0 评论 -
poj3104 二分
DryingTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 20920 Accepted: 5265DescriptionIt is very hard to wash and especially to dry clothes in winter. But Jane is a very smart girl. She is no...原创 2018-04-24 09:20:54 · 126 阅读 · 0 评论 -
(二分)scau校赛题目+poj2456
Treasure Description Li likes playing games. One of games names Finding Treasure. In the game, you have given a map (N*M). The coordinate坐标 (1,1) is the start position and (N , M) is the Treasure....原创 2018-04-20 00:38:38 · 220 阅读 · 0 评论 -
poj3501 Escape from Enemy Territory 二分+预处理+bfs
Escape from Enemy TerritoryTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 2741 Accepted: 752DescriptionA small group of commandos has infiltrated deep into enemy territory. They have just a...原创 2018-04-24 22:41:51 · 242 阅读 · 0 评论 -
hdu4004 二分
题意:给出n个石头,对岸距离L,可以跳跃次数m,问最短跳跃距离是多少,可以踩着石头过河。这题目先排一下序,然后我们把起点和对岸终点同样看作一个石头,那么我们只需要对跳跃距离二分就可以了,这里需要点思考,什么时候跳跃次数最少?就是我们每次可以跳跃到的最远那个石头跳跃次数就是最短的,这样思考就可以AC了。原本以为我的代码会在恰好再第m次跳到终点时出bug,其实是不会的,因为当可以跳到的距离,我们先保存...原创 2018-04-26 22:29:46 · 120 阅读 · 0 评论