蓝桥杯算法训练VIP-链表数据求和操作(C++) 摘要: #include #include using namespace std; int main() { int a,b,x=0,y=0…… 题解列表 2023年03月03日 0 点赞 0 评论 132 浏览 评分:0.0
蓝桥杯算法训练VIP-链表数据求和操作-题解(C语言代码)【plural:复数】首先说明在这里 摘要:解题思路:因为本题比较单一,结构比较简单,建议使用链表形式1】:也可以利用malloc申请空间,就可以到到结构体数组2】:在设定结构体时,可以在结构体中,定义一个长度为2的数组,用来存储两个数,声请十…… 题解列表 2020年12月26日 0 点赞 0 评论 324 浏览 评分:0.0
暴力解决法(通俗易懂) 摘要:解题思路:没有用链表 就直接干上去注意事项:参考代码:#include<stdio.h>int main(){ int a[20]; int i; for(i=0;i<20;i++) { scanf…… 题解列表 2021年03月24日 0 点赞 0 评论 269 浏览 评分:0.0
链表数据求和操作 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int a[10],b[10],i,sum1=0,sum2=0; for(i=0;i<10;i++)…… 题解列表 2017年10月22日 0 点赞 0 评论 1188 浏览 评分:0.0
题解 1585: 蓝桥杯算法训练VIP-链表数据求和操作 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <malloc.h> typedef struct node { int real; …… 题解列表 2022年04月10日 0 点赞 0 评论 174 浏览 评分:0.0
蓝桥杯算法训练VIP-链表数据求和操作(未用链表来做) 摘要:解题思路:1.我是用两个数组来进行计算的,比较简单。(仅适用数组。)参考代码:#include<stdio.h>int main(){ int a[10],b[10],i; int a…… 题解列表 2022年07月14日 0 点赞 0 评论 111 浏览 评分:0.0
蓝桥杯算法训练VIP-链表数据求和操作(记录在案) 摘要:#include <stdio.h> #include <malloc.h> typedef struct plural { int real; int imag; …… 题解列表 2022年07月19日 0 点赞 0 评论 91 浏览 评分:0.0
1585: 蓝桥杯算法训练VIP-链表数据求和操作(C语言) 摘要:解题思路:利用for循环创建链表并同时执行一次相加的操作,即边建立链表边求和注意事项:参考代码:#include<stdio.h>#include<stdlib.h>struct Num{ in…… 题解列表 2022年12月21日 0 点赞 0 评论 101 浏览 评分:0.0
记录skdhfiasfhgjksadkfh 摘要:解题思路:注意事项:参考代码:#include "stdio.h"#include<stdlib.h>typedef int Elemtype;typedef struct LNode //结构定义{…… 题解列表 2021年10月12日 0 点赞 0 评论 365 浏览 评分:0.0
链表实现复数求和(头插+尾插)C语言实现 摘要:解题思路:注意事项:参考代码:<1.尾插版>#include<stdio.h>#include<malloc.h> #include<stdlib.h>typedef struct number{ i…… 题解列表 2023年03月14日 0 点赞 0 评论 110 浏览 评分:0.0