蓝桥杯算法提高VIP-开灯游戏-题解(C++代码) 摘要:```cpp #include #include #include #include #include #include using namespace std; bool check…… 题解列表 2020年12月19日 0 点赞 0 评论 795 浏览 评分:0.0
[编程入门]自定义函数之字符类型统计-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char str[1000]; gets(str); …… 题解列表 2020年12月19日 0 点赞 0 评论 835 浏览 评分:0.0
[编程入门]自定义函数之字符提取-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>int main(int argc, char *argv…… 题解列表 2020年12月19日 0 点赞 0 评论 510 浏览 评分:0.0
[编程入门]三个数字的排序-题解(C语言代码) 摘要:解题思路:使用了双重循环来进行排序注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(int argc, char *argv[]) { …… 题解列表 2020年12月19日 0 点赞 0 评论 427 浏览 评分:0.0
蓝桥杯算法提高VIP-勾股数-题解(Python代码) 摘要:解题思路:通过a的平方+b的平方=c的平方可得出第三行代码,注意事项:参考代码:for a in range(1,334): for b in range(a+1,501): c …… 题解列表 2020年12月20日 0 点赞 0 评论 641 浏览 评分:0.0
[编程入门]自定义函数之字符串反转-题解(C语言代码) 摘要:解题思路:数组逆序输出注意事项:输出时注意‘\0’遇到即结束参考代码:#include<stdio.h>#include<string.h>void fanchuan(char str[],int n…… 题解列表 2020年12月20日 0 点赞 0 评论 752 浏览 评分:0.0
蓝桥杯算法提高VIP-删除数组中的0元素-题解(Python代码) 摘要:在某些情况下,测试用例中存在多余换行符号,导致最终无结果输出或错误输出,只能自己小改一下代码判断一下,真的很坑!(2020.12.23更新:后台已解决上述问题!)正确通过代码1:def Compact…… 题解列表 2020年12月20日 0 点赞 0 评论 794 浏览 评分:0.0
C语言训练-大、小写问题-题解(C语言代码) 摘要:解题思路:利用ASCII注意事项:大小写之间相差32;参考代码:#include<stdio.h>int main(){ int n,i; char str[999]; gets(s…… 题解列表 2020年12月20日 0 点赞 0 评论 441 浏览 评分:0.0
[编程入门]电报加密-题解(C语言代码) 摘要:解题思路:注意事项:注意逻辑参考代码:#include<stdio.h>#include<string.h>int main(){ char str1[111]; int n,i; …… 题解列表 2020年12月20日 0 点赞 0 评论 437 浏览 评分:0.0
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int x=0; struct date { …… 题解列表 2020年12月20日 0 点赞 0 评论 777 浏览 评分:0.0