[编程入门]自由下落的距离计算-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>main(){ float M,N,i,o; float a,b,c=0,sum=0; scanf("%f%f",&M,&N); o=M…… 题解列表 2020年12月10日 0 点赞 0 评论 516 浏览 评分:6.0
C语言训练-谁家孩子跑最慢* -题解(C语言代码) 摘要:解题思路:没思路,瞎尝试,寻求捷径注意事项:大家不要学我哦参考代码:#include<stdio.h>int main(){ printf("W");}…… 题解列表 2020年12月10日 0 点赞 0 评论 556 浏览 评分:6.0
[编程入门]自定义函数之字符提取-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[100]; int i; scanf("%s", a); for (i = …… 题解列表 2020年12月12日 0 点赞 0 评论 711 浏览 评分:6.0
[编程入门]自定义函数之字符提取-题解(C语言代码) 摘要:解题思路:注意事项:简单方法哈,看官理性看待。参考代码:#include<stdio.h>int main(){ char a[100]; int i; scanf("%s", a)…… 题解列表 2020年12月12日 0 点赞 0 评论 451 浏览 评分:6.0
[编程入门]自定义函数之数字分离-题解(C语言代码) 摘要:解题思路:利用水仙花数的那个拆分思想!!!注意事项:参考代码:#include<stdio.h>int main(){ int num,a,b,c,d; scanf("%d",&num); a=…… 题解列表 2020年12月12日 0 点赞 0 评论 575 浏览 评分:6.0
[编程基础]输入输出练习之浮点数专题-题解(C++代码) 摘要:解题思路:注意事项:要注意观察给出的例输入输出的位数,特别是g要多一位计算。参考代码:#include<iostream>using namespace std;int main(){ doub…… 题解列表 2020年12月12日 0 点赞 1 评论 1727 浏览 评分:6.0
[编程入门]第一个HelloWorld程序!-题解(C语言代码) 摘要:解题思路:用printf语句注意事项:参考代码:#include <stdio.h>int main(){ printf("**************************\n"); …… 题解列表 2020年12月12日 0 点赞 0 评论 756 浏览 评分:6.0
[编程入门]猴子吃桃的问题-题解(C++代码) 摘要:解题思路:由于首项未知末项已知,故可以逆向求解,同时两项之间有递推关系,故以递归实现注意事项:参考代码:#include <iostream>using namespace std;int resul…… 题解列表 2020年12月13日 0 点赞 0 评论 695 浏览 评分:6.0
数据结构-字符串插入-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include#include#define N 127//限制长度为127int main(){ char a[N],b[N]; int i,n,leng…… 题解列表 2020年12月14日 0 点赞 1 评论 964 浏览 评分:6.0
二级C语言-最小绝对值-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n=0,temp,a[10],min; for(int i=…… 题解列表 2020年12月16日 0 点赞 0 评论 467 浏览 评分:6.0