题解 1676: 数据结构-链表的基本操作

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

筛选

数据结构--链表的基本操作

解题思路:该咋写就咋写注意事项:该咋写就咋写参考代码://累死我了,写这么多代码好累啊,写了1个小时,我还是太菜了#include#includeusingnamespacestd;typedefstructlink{intdata;structlink*next

链表代码参考如下

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;struct node{ int data; ……

SinzoL--题解 1676: 数据结构-链表的基本操作

####好久没写了,今天试着写一下####我是靠自己的理解来写的,所以极有可能会出现一些时候处理得复杂了或不规范的情况我们先来定义一下所需函数:```cppvoidshow(note*a);//打印voidgetnum(note*a,intb);//获值voidmydelete(note*a,

数据结构-链表的基本操作

```cpp#include#include//链表typedefstructLNode{intdata;structLNode*next;}LNode,*LinkList;intInitLNode(LinkList&L){L=(LNode*)malloc(sizeof(LNode));if(L==N

1676: 数据结构-链表的基本操作

摘要:错了两次才过,这题有一个数据很大的样例,输入输出不能用 cin 和 cout,字符串用 char 数组不要用 string,不然会时间超限。#include<bits/stdc++.h> using……

运行没问题 直接复制

摘要:#define _CRT_SECURE_NO_WARNINGS#include <iostream>#include <stdio.h>//#include <cmath>//#include <al……