码迷,mamicode.com
首页 >  
搜索关键字:stair    ( 192个结果
洛谷 P1192 台阶问题
P1192 台阶问题 P1192 台阶问题 P1192 台阶问题 题目描述 有N级的台阶,你一开始在底部,每次可以向上迈最多K级台阶(最少1级),问到达第N级台阶有多少种不同方式。 输入输出格式 输入格式: 输入文件的仅包含两个正整数N,K。 输出格式: 输入文件stair.out仅包括1个正整数, ...
分类:其他好文   时间:2017-11-19 22:17:31    阅读次数:165
深搜+模拟 寻宝
#include #include using namespace std; const int MOD=20123; int f[10005][105],stair[105],ans,n,m; void dfs(int k,int num) { int t=abs(f[k][num]),q=0; ... ...
分类:其他好文   时间:2017-10-28 16:40:45    阅读次数:143
leetcode-70. Climbing Stairs
原题描述: You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can ...
分类:其他好文   时间:2017-10-15 00:34:27    阅读次数:120
洛谷 P3052 [USACO12MAR]摩天大楼里的奶牛Cows in a Skyscraper
题目描述 A little known fact about Bessie and friends is that they love stair climbing races. A better known fact is that cows really don't like going dow ...
分类:其他好文   时间:2017-10-12 13:12:49    阅读次数:210
[leetcode] 70. Climbing Stairs 解题报告
You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you cl ...
分类:其他好文   时间:2017-09-27 00:47:46    阅读次数:156
9.8 模拟试题
XXY 的 NOIP 模拟赛 2 题目 过路费 走楼梯升级版 蜂巢 stair beehive 英文题目与子目录名 fee 单个测试点时间限制 1秒 1秒 1秒 内存限制 128M 128M 128M 测试点数目 10 10 10 每个测试点分值 10 10 10 比较方式 全文比较(过滤行末空格及 ...
分类:其他好文   时间:2017-09-08 23:01:50    阅读次数:255
70. Climbing Stairs【leetcode】递归,动态规划,java,算法
You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you cl ...
分类:编程语言   时间:2017-08-12 22:30:51    阅读次数:206
LeetCode 70 Climbing Stairs(爬楼梯)(动态规划)(*)
翻译 你正在爬一个楼梯。它须要n步才干究竟顶部。 每次你能够爬1步或者2两步。 那么你有多少种不同的方法爬到顶部呢? 原文 You are climbing a stair case. It takes n steps to reach to the top. Each time you can e ...
分类:其他好文   时间:2017-08-07 18:36:26    阅读次数:140
u3d 楼梯,圆环,椭圆,直线运动。世界坐标。点击。U3d stair, ring, ellipse, linear motion.World coordinates.Click .
u3d 楼梯,圆环,椭圆,直线运动。世界坐标。点击。 U3d stair, ring, ellipse, linear motion.World coordinates.Click . 作者:韩梦飞沙 Author:han_meng_fei_sha 邮箱:313134555@qq.com E-mai ...
分类:其他好文   时间:2017-08-07 10:17:34    阅读次数:220
Climbing Stairs
You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you cl... ...
分类:其他好文   时间:2017-08-05 18:55:02    阅读次数:117
192条   上一页 1 2 3 4 5 6 ... 20 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!