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

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

筛选

链表数据求和操作

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

简易链表求和

摘要:解题思路:注意事项:函数名是拼音,英语不好参考代码:#include <stdio.h>#include <stdlib.h>typedef struct node{    int s;    int……

链表的创建

摘要:#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=……