[编程入门]密码破译 摘要:解题思路:自己看注意事项:参考代码:#include <stdio.h>void encryptPassword(char* str) { int i = 0; while (str[i]…… 题解列表 2023年10月29日 0 点赞 0 评论 534 浏览 评分:9.9
计算多项式的值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double x,a,b,c,d; scanf("%lf %lf %…… 题解列表 2023年10月29日 0 点赞 0 评论 765 浏览 评分:9.9
2215: 蓝桥杯算法训练-1的个数 摘要:解题思路:注意事项:参考代码:#includeusing namespace std; int main() { long long a; int count=0; …… 题解列表 2023年10月29日 0 点赞 0 评论 306 浏览 评分:0.0
2216: 蓝桥杯算法训练-加法运算 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int GetTwoInts() { int a,b; cin>…… 题解列表 2023年10月29日 0 点赞 0 评论 233 浏览 评分:0.0
计算分数的浮点数值 摘要:解题思路:计算分数的浮点数值注意事项:b!=0参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d",&a,&b); if(b…… 题解列表 2023年10月29日 0 点赞 0 评论 855 浏览 评分:9.9
2222: 蓝桥杯算法训练-P0103 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { char ch; cin>>ch; …… 题解列表 2023年10月29日 0 点赞 0 评论 268 浏览 评分:0.0
优质题解 运用递归思想求解!!(更相减损法) 摘要:解题思路首先我们知道这两个数的乘积等于这两个数的最大公约数乘最小公倍数,故只需求出一个既可求另一个,这里我们用更相减损法求解最大公因数。更相减损法也称欧几里得算法它的基本思想是:用较大的数除以较小的数…… 题解列表 2023年10月29日 4 点赞 1 评论 1770 浏览 评分:9.1
链表合并问题 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>// 定义链表结构体typedef struct node { int id; …… 题解列表 2023年10月29日 0 点赞 0 评论 286 浏览 评分:9.9
两种方法实现成绩记录 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<string.h>struct student { c…… 题解列表 2023年10月29日 0 点赞 0 评论 267 浏览 评分:9.9
c代码记录之自由下落的距离计算 摘要:解题思路:注意事项:此题走过的路程指的是第n次落地时走过的总路程,而不是第n次落地后反弹到最高时走过的总路程参考代码:#include<stdio.h> int main() { flo…… 题解列表 2023年10月29日 0 点赞 0 评论 173 浏览 评分:0.0