Jayden-[解释通俗易懂,一看就会! ] 复数求和(结构体&&功能模块化) 摘要:解题思路: 题目是想求链表中复数之和,那么我们可以从链表入手,我的思路是:将第二个节点就当作是最后要求和的节点,把第二个节点之后的所有节点的数据都加在这个节点上,最后是输出headNod…… 题解列表 2024年03月12日 0 点赞 0 评论 375 浏览 评分:9.9
想回到小学上课了 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) …… 题解列表 2024年03月12日 0 点赞 0 评论 571 浏览 评分:9.9
甲流病人初筛,结构体数组写法,有注释 摘要:```c ```c #include typedef struct information{ char name[8]; float temperature; int cough…… 题解列表 2024年03月12日 1 点赞 0 评论 625 浏览 评分:0.0
1020: [编程入门]猴子吃桃的问题--倒过来看问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n=0,x=1; scanf("%d",&n); for(int i=1;i<n;i++) { x=2…… 题解列表 2024年03月12日 0 点赞 0 评论 324 浏览 评分:9.9
使用sort方法自定义cmp实现排序,直接进行大小比较 摘要:解题思路:整体思路是将要比较的字符串放入一个字符数组里面,为了便于写cmp方法进行比较,我在这里用结构体将其保存,开了1000的长度是因为一开始我开了10怎么也通过不了第二个测试点,检查算法没有问题,…… 题解列表 2024年03月12日 0 点赞 0 评论 602 浏览 评分:9.9
开数组存字符按位+4再输出 摘要:解题思路:注意事项:参考代码:#include<cstdio>#include<iostream>#include<cstring>using namespace std;int main(){ in…… 题解列表 2024年03月12日 0 点赞 0 评论 326 浏览 评分:0.0
2680: 蓝桥杯2022年第十三届省赛真题-纸张尺寸 摘要:解题思路: 在这段代码中,int s = int(str1[1])-48; 的目的是将输入的字符串中的第二个字符转换为整数。这是因为输入的字符串表示的是一个数字,而不是一个…… 题解列表 2024年03月12日 1 点赞 0 评论 575 浏览 评分:10.0
1108: 守望者的逃离(双线牛逼) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int m,s,t; cin>>m>>s>>t; i…… 题解列表 2024年03月12日 1 点赞 0 评论 582 浏览 评分:9.9
1131: C语言训练-斐波纳契数列 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int number(int i){ if(i<=2) return 1; else return number(i-1)+number…… 题解列表 2024年03月12日 0 点赞 0 评论 328 浏览 评分:9.9
蓝桥杯2014年第五届真题-分糖果-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int n,i,f,b=0;//b为补发糖果个数,f为判断每个人是否相等的标志 int stu[10…… 题解列表 2024年03月12日 0 点赞 0 评论 299 浏览 评分:0.0