码迷,mamicode.com
首页 >  
搜索关键字:frog    ( 269个结果
HDU4004——The Frog's Games
http://acm.hdu.edu.cn/showproblem.php?pid=4004这道题讲的是青蛙在限定步骤之内跳过河,所以判断最小的每次跳的步长。思路理解:找到每块石头之间的最大值为石头最小步长,最大值当然就是河宽了。所以剩下了就是用二分枚举了。//我烦的一个错误就是sort函数是从0-...
分类:其他好文   时间:2015-05-25 18:32:37    阅读次数:113
HDU 4004 The Frog's Games 二分 贪心
戳这里:HDU 4004//思路:二分经典入门题...贪心判方案是否可行 1 #include "bits/stdc++.h" 2 using namespace std; 3 int L, n, m; 4 int pos[500010], dis[500010]; 5 6 bool Cant(i....
分类:其他好文   时间:2015-05-04 01:06:17    阅读次数:180
(floyd应用) poj 2253
FroggerTime Limit:1000MSMemory Limit:65536KTotal Submissions:28112Accepted:9136DescriptionFreddy Frog is sitting on a stone in the middle of a lake. S...
分类:其他好文   时间:2015-04-30 00:41:20    阅读次数:161
【ThinkingInJava】9、继承与清理
/** * 书本:《Thinking In Java》 * 功能:继承与清理 * 文件:Frog.java * 时间:2015年4月1日19:38:22 * 作者:cutter_point */ package Lesson8Polymorphism; import static net.mindview.util.Print.*; class Characteristic { privat...
分类:编程语言   时间:2015-04-16 15:45:38    阅读次数:136
二分+三分
The Frog's GamesTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 4218Accepted Submission(s): 2051Pr...
分类:其他好文   时间:2015-04-08 19:29:17    阅读次数:160
(简单) POJ 2253 Frogger,Dijkstra。
Description Freddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is sitting on another stone. He plans to ...
分类:其他好文   时间:2015-03-15 00:37:42    阅读次数:154
Frogger
DescriptionFreddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is sitting on another stone. He plans to visi...
分类:其他好文   时间:2015-03-07 15:32:03    阅读次数:166
poj 2253 Frogger [dijkstra]
传送门:http://poj.org/problem?id=2253 Frogger Description Freddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is sitting on another stone. He plans to v...
分类:其他好文   时间:2015-02-13 14:53:14    阅读次数:208
IOI2002 POJ1054 The Troublesome Frog 讨厌的青蛙 (离散化+剪枝)
DescriptionIn Korea, the naughtiness of the cheonggaeguri, a small frog, is legendary. This is a well-deserved reputation, because the frogs jump thro...
分类:其他好文   时间:2015-02-04 00:29:23    阅读次数:195
hdu 3455 Leap Frog
Leap Frog                                                             Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)                                           ...
分类:其他好文   时间:2015-02-02 14:11:05    阅读次数:144
269条   上一页 1 ... 20 21 22 23 24 ... 27 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!