码迷,mamicode.com
首页 >  
搜索关键字:frog    ( 269个结果
POJ 2253 - Frogger (floyd)
A -FroggerTime Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionFreddy Frog is sitting on a stone in the middle of ...
分类:其他好文   时间:2015-10-23 01:34:28    阅读次数:217
poj 2253 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-10-22 16:59:10    阅读次数:226
HDU 5037 Frog(贪心)
题意比较难懂,一只青蛙过河,它最多一次跳L米,现在河中有石头,距离不等,上帝可以往里加石头,青蛙非常聪明,它一定会选择跳的次数最少的路径。问怎么添加石头能让青蛙最多的次数。输出青蛙跳的最多的次数。考虑对于长度L+1,上帝一定会让青蛙跳两次。那么只需要尽可能的构造L+1就行了。那么就需要求多少个L+1...
分类:其他好文   时间:2015-09-24 12:53:07    阅读次数:225
bzoj-2093 Frog
题意: 数轴上有n个点,有一个青蛙在这些点上跳; 规则是每次向距当前点第k小的点跳,如果有相同距离则向下标较小的跳; 求从每个点出发跳了m次后在哪里; 1 题解: 我真是不知道这题出long long 的意义是啥。。 数据范围比较极限,略卡,加点读入优化啥的卡常数才过; 不过Poi上还是挺良心的,除了偶尔乱入的波兰文以外; 这题后半部分显然就是置换的快速幂; 主要问题是...
分类:其他好文   时间:2015-09-21 10:38:38    阅读次数:174
青蛙交换(转)
http://britton.disted.camosun.bc.ca/frog_puzzle.htm #include?<iostream> using?namespace?std; int?IfSuccess(int*?p_result){ int?success?=?1; for(int?i?=?0;?i?<?3;?i?++){ if...
分类:其他好文   时间:2015-08-31 13:47:17    阅读次数:199
POJ 2253 Frogger Floyd
原题链接:http://poj.org/problem?id=2253FroggerTime Limit:1000MSMemory Limit:65536KTotal Submissions:30637Accepted:9883DescriptionFreddy Frog is sitting on...
分类:其他好文   时间:2015-08-20 06:42:11    阅读次数:109
poj2253 最小生成树中的最大边 prim
Frogger Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 30620   Accepted: 9875 Description Freddy Frog is sitting on a stone in the middle of a lake. Suddenly ...
分类:其他好文   时间:2015-08-19 09:27:42    阅读次数:123
poj 2253 Frogger
Frogger Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 30438   Accepted: 9810 Description Freddy Frog is sitting on a stone in the middle of a lake. Suddenl...
分类:其他好文   时间:2015-08-13 22:23:52    阅读次数:142
zoj1942Frogger
Frogger Time Limit: 2 Seconds      Memory Limit: 65536 KB 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-08-13 22:18:26    阅读次数:197
poj 2253 Frogger【最小生成树变形】【kruskal】
FroggerTime Limit:1000MSMemory Limit:65536KTotal Submissions:30427Accepted:9806DescriptionFreddy Frog is sitting on a stone in the middle of a lake. S...
分类:其他好文   时间:2015-08-13 14:07:45    阅读次数:160
269条   上一页 1 ... 17 18 19 20 21 ... 27 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!