[编程入门]自定义函数之字符提取-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void chuli(char str[1000]){ char b[1000]={0}; int …… 题解列表 2020年11月17日 0 点赞 0 评论 461 浏览 评分:0.0
蓝桥杯算法训练VIP-提货单-题解(Python代码)简单题6行 摘要:解题思路: 略。注意事项: 精度为小数点后6位。参考代码:n = int(input().strip()) temp = 0 for i in range(n): item …… 题解列表 2020年11月17日 0 点赞 0 评论 702 浏览 评分:0.0
C语言训练-数字母-题解(C语言代码) 摘要:参考代码:#include <stdio.h>#include <stdlib.h>#include<string.h>int main(){ char string1[1000]; sc…… 题解列表 2020年11月17日 0 点赞 0 评论 382 浏览 评分:0.0
[编程入门]水仙花数判断-题解(Python代码) 摘要:解题思路:注意事项:参考代码:for i in range(100,1000): m=str(i) [a,b,c]=[m[0],m[1],m[2]] z=pow(int(a),3)+…… 题解列表 2020年11月17日 0 点赞 0 评论 725 浏览 评分:9.3
[编程入门]水仙花数判断-题解(C语言代码) 摘要:解题思路:可以用函数也可以直接三个变量相乘。注意事项:没什么好注意得。参考代码:#include <stdio.h>#include <math.h>int main(){ int i,a,b,c; …… 题解列表 2020年11月17日 0 点赞 0 评论 311 浏览 评分:0.0
C语言训练-大、小写问题-题解(C语言代码) 摘要:参考代码:#include <stdio.h>#include <stdlib.h>#include<string.h>int main(){ char string1[1000]; sc…… 题解列表 2020年11月17日 0 点赞 0 评论 751 浏览 评分: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 评论 294 浏览 评分:0.0
[编程入门]自定义函数之字符串连接-题解(C语言代码) 摘要:参考代码:#include <stdio.h>#include <stdlib.h>#include<string.h>void stringcat(char *string1,char *strin…… 题解列表 2020年11月17日 0 点赞 0 评论 470 浏览 评分:0.0
C语言训练-数字母-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include#define N 100int main(){ char string[100];//定义成字符型 int i,j,m; i=0;j=…… 题解列表 2020年11月17日 0 点赞 0 评论 265 浏览 评分:0.0
[编程入门]自定义函数之字符串反转-题解(C语言代码) 摘要:参考代码:#include <stdio.h>#include <stdlib.h>#include<string.h>void stringback(char *string1,char *stri…… 题解列表 2020年11月17日 0 点赞 0 评论 337 浏览 评分:0.0