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

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

筛选

链表的基本操作

摘要:解题思路:注意事项:初始列表插入时顺序相反,且无"insert OK"提示,加入flag判断是否为初始列表操作;参考代码:#include <stdio.h>#include <stdlib.h>#i……

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

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

术式反转 赫

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

拒绝超时!!!

摘要:解题思路:注意事项:个数算一次就好,每次的”delete“或”insert“,相应进行++,--参考代码:#include<stdio.h>#include<stdlib.h>#include<str……