码迷,mamicode.com
首页 >  
搜索关键字:楼梯    ( 611个结果
超级楼梯
New~ 关于举办杭电程序设计竞赛(2014'12)的报名通知  【比赛提醒】BestCoder 你报名了吗?(点击报名)  【科普】什么是BestCoder?如何参加? 超级楼梯 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Subm...
分类:其他好文   时间:2014-11-26 22:45:09    阅读次数:329
诡异的楼梯
1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 int m,n; 9 int xi,xj,yi,yj; 10 char map[25][25]; ...
分类:其他好文   时间:2014-11-25 14:23:39    阅读次数:236
LeetCode Climbing Stairs 爬楼梯
递归法(TLE代码): 1 class Solution { 2 public: 3 int climbStairs(int n) { 4 if(n==0) 5 return 1; 6 if(n3时,要返回的是n-1和n-2所要返回的数...
分类:其他好文   时间:2014-11-24 20:25:30    阅读次数:221
nyoj 76
超级台阶时间限制:1000ms | 内存限制:65535KB难度:3描述有一楼梯共m级,刚开始时你在第一级,若每次只能跨上一级或二级,要走上第m级,共有多少走法?注:规定从一级到一级有0种走法。输入输入数据首先包含一个整数n(1#include#include#include#include#inc...
分类:其他好文   时间:2014-11-15 20:05:59    阅读次数:153
JUMP上楼梯游戏IOS源码
基于cocos2d-x的简单JUMP上楼梯游戏,配有音效。适合新接触cocos2d的同学学习。规则类似 “是男人就上100层”的经典小游戏,就是控制宝宝通过跳上不同高度的踏板而慢慢升高。详细说明:http://ios.662p.com/thread-1711-1-1.html
分类:移动开发   时间:2014-11-06 10:45:51    阅读次数:203
打造自己的温暖小窝之楼梯建模
图01模型只用到了自带的楼梯功能,长方体和二维线,用了一盏聚光灯。(图02)图02楼梯用到了,多维子材质。(图03)图03在漫反射通道贴了一个(细胞),在反射通道加一(vr贴图)。(图04)图04点击漫反射按钮贴入细胞,把细胞颜色改为白色,分界颜色改为黑色,并改变细胞特性。(图05)图05点击反射按...
分类:其他好文   时间:2014-11-05 16:45:15    阅读次数:189
HDU 1180 诡异的楼梯
1 #include 2 #include 3 #include 4 #include 5 #include 6 7 using namespace std; 8 9 struct node 10 { 11 int x,y,t;...
分类:其他好文   时间:2014-11-04 16:55:39    阅读次数:216
超级台阶
超级台阶描述有一楼梯共m级,刚开始时你在第一级,若每次只能跨上一级或二级,要走上第m级,共有多少走法?注:规定从一级到一级有0种走法。输入输入数据首先包含一个整数n(1#include #include #include #include #include #include #include usi...
分类:其他好文   时间:2014-11-02 18:03:52    阅读次数:173
Climbing Stairs 爬楼梯问题,每次可以走1或2步,爬上n层楼梯总方法 (变相fibnacci)
You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb...
分类:其他好文   时间:2014-10-29 12:48:28    阅读次数:170
超级楼梯
Problem Description有一楼梯共M级,刚开始时你在第一级,若每次只能跨上一级或二级,要走上第M级,共有多少种走法?Input输入数据首先包含一个整数N,表示测试实例的个数,然后是N行数据,每行包含一个整数M(1 2 3 int main(){ 4 int T; 5 ...
分类:其他好文   时间:2014-10-28 23:40:14    阅读次数:355
611条   上一页 1 ... 54 55 56 57 58 ... 62 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!