花落的新手写法 (C语言代码)~ 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>int kow(int n){ int i,sum=1; for…… 题解列表 2017年12月18日 2 点赞 0 评论 1258 浏览 评分:7.0
2^k进制数 (C++代码) 摘要:解题思路: 题目的例子为例,长度为7位的01字串按3位一段就这样分:0 000 000。其中除了首段,每段都小于(111)2,也即小于2k,而首段自然是小于2w%k(对于w%k为0时也成立)了。 …… 题解列表 2017年12月04日 3 点赞 0 评论 1228 浏览 评分:0.0
2^k进制数 (C语言描述,蓝桥杯) 摘要:#include <stdio.h> #include <math.h> long C(int ,int ); //为C(n+m-1)(m)计算排列数,其中n为…… 题解列表 2017年10月20日 6 点赞 6 评论 1498 浏览 评分:0.0
2^k进制数 (C++代码)使用递归方法 摘要:#include<cstdio> #include<iostream> using namespace std; char s[30000]; int k , w ; int len; i…… 题解列表 2017年08月18日 2 点赞 1 评论 789 浏览 评分:7.3