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

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

筛选

链表的创建

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

链表数据求和操作

摘要:参考代码: ```c #include typedef struct m { int a; int b; struct m *next; }STU; STU ……

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h> typedef struct num{     int real;     int imag;  ……