题解 1019: [编程入门]自由下落的距离计算 摘要:解题思路:小球每次下落到回到半空,都会经过上一次高度的1.5倍距离。注意事项:小球最后一次下落没有回到半空,所以要减去最后一次的高度。参考代码:#include<stdio.h>int main(){…… 题解列表 2021年11月30日 0 点赞 0 评论 462 浏览 评分:9.9
筛选N以内的素数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int sushu(int x){ for(int j=2;j<=sqrt(x);j++) …… 题解列表 2021年11月30日 0 点赞 0 评论 464 浏览 评分:9.9
汉诺塔(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ void hanoi(int n,char x,char y,char z); int m; …… 题解列表 2021年12月01日 0 点赞 0 评论 779 浏览 评分:9.9
结构体之成绩记录(C++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;struct student{ char id[20]; char name[20]; int…… 题解列表 2021年12月01日 0 点赞 0 评论 590 浏览 评分:9.9
来自欧亚的天才刘磊 摘要:解题思路:这都能不懂了?注意事项:带上你的脑子,和一颗专注且想要求知的心来吧参考代码:int t,n,k=0; scanf("%d",&n); t=n; int i; for(i=0;i<5;i++)…… 题解列表 2021年12月01日 0 点赞 1 评论 576 浏览 评分:9.9
二级C语言-自定义函数 摘要:#include double fact(double n) { int i; double sum=1.0; for(i=1;i<=n;i++) s…… 题解列表 2021年12月01日 0 点赞 0 评论 355 浏览 评分:9.9
猴子吃桃问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i; scanf("%d",&n); int t=1; for(i=1;i…… 题解列表 2021年12月01日 0 点赞 2 评论 422 浏览 评分:9.9
1434: 蓝桥杯历届试题-回文数字 摘要: n = int(input().strip()) c =0 def huiwen(s): for i in range(len(s)//2): …… 题解列表 2021年12月01日 0 点赞 0 评论 627 浏览 评分:9.9
链表合并(C++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;struct student{ int id; int score; student *nex…… 题解列表 2021年12月01日 0 点赞 0 评论 623 浏览 评分:9.9
编写题解 1513: 蓝桥杯算法提高VIP-大数加法(C语言--带注释) 摘要:解题思路:注意事项:参考代码:#include#include//比较大小函数 int max(int a,int b){ return a > b ? a : b;}int main()…… 题解列表 2021年12月01日 0 点赞 0 评论 638 浏览 评分:9.9