呜呜呜终于写出来了。我与链表的爱恨情仇 摘要:解题思路://用到链表的基础用法,链表中节点按照成员排序的话用插入法比较好用。注意事项://第一次写链表题目参考代码:#include <stdio.h> #include <stdlib.h> …… 题解列表 2024年08月30日 3 点赞 0 评论 613 浏览 评分:9.9
1052: [编程入门]链表合并(python) 摘要:### 代码如下: ~~~python n,m = map(int,input().split()) d = {} for i in range(m+n): k,v = map(…… 题解列表 2024年10月15日 3 点赞 0 评论 530 浏览 评分:10.0
C语言解题,带注释,体现模块化思想 摘要:```c注意:申请的内存需要释放,否则会造成内存泄漏#include#includetypedef struct _node { int value_number; int…… 题解列表 2025年01月19日 3 点赞 0 评论 1042 浏览 评分:10.0
STL容器 map 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ map<int,int>mp; i…… 题解列表 2025年05月18日 1 点赞 0 评论 619 浏览 评分:10.0
链表合并map(sf13c) 摘要:解题思路:map<int,int>mp;//一个是键,一个是值//map有自动排序特性注意事项:注意map的输入和输出的方式参考代码:#include<bits/stdc…… 题解列表 2025年05月29日 1 点赞 0 评论 628 浏览 评分:10.0
巨简单 1052: [编程入门]链表合并 摘要:a, b = map(int,input().split())s = [list(map(int,input().split())) for _ in range(a+b)]s.sort(ke…… 题解列表 2025年10月06日 2 点赞 0 评论 665 浏览 评分:10.0