二级C语言-最小绝对值-题解(Python代码) 摘要:这道题n来获取输入的十个值 存放在列表中 给a随便定义一个值 然后遍历一遍 找到绝对值最小的数 通过index()找到索引位置 然后和最后一个值的索引位置 交换位置 ```python …… 题解列表 2020年03月12日 0 点赞 0 评论 1116 浏览 评分:9.0
P1002-题解(C++代码) 摘要:```cpp #include using namespace std; typedef struct Stu{ char name[20]; int qimo; …… 题解列表 2020年03月12日 0 点赞 0 评论 1056 浏览 评分:0.0
[编程入门]三个字符串的排序-题解(C语言代码) 摘要:数组太大不太行 会运行出错在这里 #include #include int main() { char a[100],b[100],c[100],…… 题解列表 2020年03月12日 0 点赞 0 评论 742 浏览 评分:0.0
二级C语言-统计字符-题解(Python代码) 摘要:这道题使用字符串中的测试方法可以很快的解决 使用a来表示英文字母的个数 b来表示数字的个数 c来表示空格的个数 d来表示其他字符的个数 最后输出acbd即可 ```python n = …… 题解列表 2020年03月12日 0 点赞 0 评论 1394 浏览 评分:9.9
蓝桥杯算法提高VIP-Pascal三角-题解(C语言代码) 摘要: #include int f(int m, int n) { if (0 == m || n == m) return 1; return f(…… 题解列表 2020年03月12日 0 点赞 0 评论 1020 浏览 评分:0.0
[编程入门]自定义函数之字符串拷贝-题解(C语言代码) 摘要: #include void cut(char str[],int m) { int i,j=0; char b[100]; for(i=…… 题解列表 2020年03月12日 0 点赞 0 评论 1037 浏览 评分:0.0
[编程入门]自定义函数之字符类型统计-题解(C语言代码) 摘要: 代码: #include #include void function(char *w) { int n=0; while(w[n]…… 题解列表 2020年03月12日 0 点赞 0 评论 567 浏览 评分:0.0
蓝桥杯算法训练VIP-字符串编辑-题解(C++代码) 摘要:```cpp #include #include #include using namespace std; int main() { char str[40]; …… 题解列表 2020年03月12日 0 点赞 0 评论 1065 浏览 评分:0.0
[编程入门]数字的处理与判断-题解(C语言代码) 摘要:```c #include int main() { int i,count=0,x[5]; //count统计位数,x[5]储存数字 for (i=…… 题解列表 2020年03月12日 0 点赞 0 评论 891 浏览 评分:0.0
蓝桥杯基础练习VIP-阶乘计算-题解(C语言代码) 摘要: #include int main(void) { int i = 0, j = 0, n = 0, r = 0; int num[4…… 题解列表 2020年03月12日 0 点赞 0 评论 751 浏览 评分:8.0