[编程入门]自定义函数之字符串连接-题解(C语言代码) 摘要:参考代码:#include <stdio.h>#include <stdlib.h>#include<string.h>void stringcat(char *string1,char *strin…… 题解列表 2020年11月17日 0 点赞 0 评论 698 浏览 评分:0.0
[编程入门]阶乘求和-题解(C语言代码) 摘要:解题思路:注意事项:int 型提交不能正确,得用long int 型。参考代码:#include <stdio.h>int main(){ long int i,n,sum1=1,sum=0; sca…… 题解列表 2020年11月17日 0 点赞 0 评论 462 浏览 评分:0.0
C语言训练-大、小写问题-题解(C语言代码) 摘要:参考代码:#include <stdio.h>#include <stdlib.h>#include<string.h>int main(){ char string1[1000]; sc…… 题解列表 2020年11月17日 0 点赞 0 评论 1108 浏览 评分:0.0
[编程入门]水仙花数判断-题解(C语言代码) 摘要:解题思路:可以用函数也可以直接三个变量相乘。注意事项:没什么好注意得。参考代码:#include <stdio.h>#include <math.h>int main(){ int i,a,b,c; …… 题解列表 2020年11月17日 0 点赞 0 评论 467 浏览 评分:0.0
C语言训练-数字母-题解(C语言代码) 摘要:参考代码:#include <stdio.h>#include <stdlib.h>#include<string.h>int main(){ char string1[1000]; sc…… 题解列表 2020年11月17日 0 点赞 0 评论 594 浏览 评分:0.0
蓝桥杯算法训练VIP-提货单-题解(Python代码)简单题6行 摘要:解题思路: 略。注意事项: 精度为小数点后6位。参考代码:n = int(input().strip()) temp = 0 for i in range(n): item …… 题解列表 2020年11月17日 0 点赞 0 评论 1055 浏览 评分:0.0
[编程入门]自定义函数之字符提取-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void chuli(char str[1000]){ char b[1000]={0}; int …… 题解列表 2020年11月17日 0 点赞 0 评论 588 浏览 评分:0.0
字符排列问题-题解(Python代码) 摘要:解题思路: 直接调用itertools里面的排列组合方法 用集合除去一下重复,测长即可注意事项:参考代码:from itertools import permutations print(len(…… 题解列表 2020年11月17日 0 点赞 0 评论 632 浏览 评分:0.0
二级C语言-阶乘公式求职-题解(C语言代码) 摘要:```c #include int main() { double fact(int k); //函数声明 int n; double sum=0; …… 题解列表 2020年11月17日 0 点赞 0 评论 836 浏览 评分:0.0
[编程入门]自定义函数之数字后移-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:/*有n个整数,使前面各数顺序向后移m个位置,最后m个数变成前面m个数。写一函数:实现以上功能,在主函数中输入n个数和输出调整后的n个数。输入输入数据的个数n n个整数 …… 题解列表 2020年11月17日 0 点赞 0 评论 657 浏览 评分:0.0