题解 1585: 蓝桥杯算法训练VIP-链表数据求和操作

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

链表数据求和操作

摘要:# 链表数据求和操作 ```c++ #include #include #include #include using namespace std; // 定义链表节点结构 ……

链表的创建

摘要:#include <bits/stdc++.h> #define debuga(v, i) cout << #v << "[" << i << "]" << " = " << v

1585:链表操作

摘要:```cpp #include using namespace std; typedef struct node { int shibu; int xubu; node* n……

第一次用pair数对

摘要:#include<bits/stdc++.h> using namespace std; pair<int,int>a[10]; int main() { int sum1=0,sum2=……

1585链表数据求和操作(c++)

摘要:解题思路: 用链表存储数据注意事项: 链表出节点ne[0]=-1,idx要从1开始计算参考代码:#include<iostream> using namespace std; const int ……

LikeWater - 1585: 蓝桥杯算法训练VIP-链表数据求和操作(同1511-复数求和是一样的题,不做第二遍直接copy+稍微改下)

摘要:####我很懒,坐在这里只要动动手和脑子的事,有时候都会觉得题目难烧脑子,让我做第二遍,不可能!除非你能出的不一样,要是稍微一样我都会直接copy,没什么意思,就是觉得刷题很爽,但是刷一样的题目就很烦……