蓝桥杯基础练习VIP-分解质因数(分解一个,剩下的拿回来继续分解) 摘要:#include int haha(int i) { for (int j = 2; j < i; j++)//从2开始到数字本身-1,一个一个判断是否能整除 { if (i % j…… 题解列表 2020年03月08日 0 点赞 2 评论 789 浏览 评分:9.9
[编程入门]三个字符串的排序-题解(C语言代码) 摘要:# 三个字符串的排序-C语言 我这里加了字符串交换的Swap(char ****a**,char ****b**)函数。 代码如下: ```c #include #include void…… 题解列表 2020年03月08日 0 点赞 0 评论 880 浏览 评分:0.0
超级楼梯 (C++代码)—————找出公式,递归所有情况,思路还通用于其他的爬楼梯情况——————— 摘要:问题刨析: ```cpp 把问题分析为下面三种情况, 该题需要注意的是:由于从第一级楼梯出发的,所以到最后的结果需要减一! / 1 …… 题解列表 2020年03月08日 1 点赞 0 评论 1765 浏览 评分:9.9
[偶数求和] (C++代码) 摘要: #include using namespace std; int main() { int a,b; while(cin>>a>>b) { int i,t[100],s…… 题解列表 2020年03月08日 0 点赞 0 评论 928 浏览 评分:9.9
二级C语言-统计字符-题解(C++代码) 打开看我一眼!!!!!!!!! 摘要: #include #include using namespace std; int main() { string s; int q = 0, w = 0, e = 0…… 题解列表 2020年03月08日 0 点赞 0 评论 1009 浏览 评分:9.9
[编程入门]报数问题-题解(C++代码) 摘要: #include #include using namespace std; int main() { int n, counts = 0; string s; c…… 题解列表 2020年03月08日 0 点赞 0 评论 658 浏览 评分:9.9
王牌花色-题解(Python代码) 摘要: count = int(input()) def judge(card1, card2): get_number1 = card1[0] …… 题解列表 2020年03月08日 0 点赞 1 评论 879 浏览 评分:4.0
A+B+C+D-题解(C++代码) 摘要: #include using namespace std; int main() { int a,b,c,d; int i,t,s[100]; cin>>t; for(i…… 题解列表 2020年03月08日 0 点赞 0 评论 913 浏览 评分:0.0
汪汪与打针 -题解(Python代码) 摘要: def func(a, b): money = a # 汪汪的钱数 count = 0 # 妙三多的次数 num = 0 # 总的次数 …… 题解列表 2020年03月08日 0 点赞 0 评论 780 浏览 评分:9.9
[编程入门]自定义函数处理素数-题解(C语言代码) 摘要: 代码: #include int w(int a) { int c = 1; if (a % 2 == 0 && a != 2) …… 题解列表 2020年03月08日 0 点赞 0 评论 835 浏览 评分:0.0