码迷,mamicode.com
首页 >  
搜索关键字:frog    ( 269个结果
BZOJ2093: [Poi2010]Frog
题目:http://www.lydsy.com/JudgeOnline/problem.php?id=2093题解:Orz这题好神! 首先求一位数轴上距离每个点第k近的点。 神做法:维护一个l,r表示a[l--r]是距离i最近的k个点,当i++时,只有可能l++,r++或不改变!!! ...
分类:其他好文   时间:2015-02-01 13:23:34    阅读次数:148
js 随手记
var name = 'frog'function hello(){ alert(name); // undefined var name = 'bbc';}在javascript中,函数是可以形成一个独立作用域的,变量的查找,首先是就近原则,先看自己有没有,自己没有,就会自动跑到外层去...
分类:Web程序   时间:2015-01-23 10:46:26    阅读次数:171
hdu 4004 The Frog's Games【二分】
The Frog's Games Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65768/65768 K (Java/Others) Total Submission(s): 3980    Accepted Submission(s): 1931 Problem Description The annual Ga...
分类:其他好文   时间:2015-01-20 22:23:48    阅读次数:223
POJ 2253 Frogger (dijkstra算法 + 预处理)
Frogger Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 27020   Accepted: 8797 Description Freddy Frog is sitting on a stone in the middle of a lake. Sud...
分类:编程语言   时间:2015-01-16 16:49:44    阅读次数:208
POJ 2253 Frogger
题目链接:poj.org/problem?id=2253题目大意:Freddy Frog 坐在湖中的一个石头上, 突然的他注意到Fiona Frog 坐在另一个石头上,Freddy Frog 要去拜访Fiona Frog , 但是水很脏,而且有游客的防晒霜漂上面, 为了避免游泳过去他只能跳过去。不幸...
分类:其他好文   时间:2014-12-11 17:10:25    阅读次数:191
hdu 4004 The Frog's Games
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4004The annual Games in frogs' kingdom started again. The most famous game is the Ironfrog Triathlon. O...
分类:其他好文   时间:2014-11-27 21:44:32    阅读次数:201
hdu4004The Frog's Games 二分
河的长度为L, 有n个石头,最多跳m次,求青蛙最少至少能够跳多远的最小值。 二分,去年学过,好像也写过,今年还是不会,惭愧。 #include #include #include #include #include #include using namespace std; int a[500005],b[500005]; int main() { int i,L,n,m;...
分类:其他好文   时间:2014-11-13 09:24:16    阅读次数:188
POJ 2253 Frogger
FroggerTime Limit:1000MSMemory Limit:65536KTotal Submissions:26519Accepted:8633DescriptionFreddy Frog is sitting on a stone in the middle of a lake. S...
分类:其他好文   时间:2014-11-02 22:11:44    阅读次数:228
C# 枚举绑定到ComboBox
来自:http://blog.csdn.net/crazy_frog/article/details/7705442方法一:绑定[csharp]view plaincopyenumTestEnum{zero=0,one=1,two=2}ComboBoxcbo=newComboBox();cbo.Da...
分类:Windows程序   时间:2014-11-02 13:51:41    阅读次数:459
HDU 5037 FROG (贪心)
Problem Description Once upon a time, there is a little frog called Matt. One day, he came to a river. The river could be considered as an axis.Matt is standing on the left bank now (at position...
分类:其他好文   时间:2014-10-30 21:03:53    阅读次数:147
269条   上一页 1 ... 21 22 23 24 25 ... 27 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!