随笔分类 -  算法基础

摘要:1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <stdbool.h> 4 #include <string.h> 5 6 #define NUM 3 7 8 typedef struct { 9 int a; 10 int b; 11 } 阅读全文
posted @ 2020-11-05 23:33 hemeiwolong 阅读(103) 评论(0) 推荐(0) 编辑
摘要:链接:https://www.nowcoder.com/questionTerminal/0f3bdc60198244d9a8893b843afd2310来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32M,其他语言64M 算法知识视频讲解 合并两个内容流,实现隔4个 阅读全文
posted @ 2020-03-20 13:34 hemeiwolong 阅读(406) 评论(0) 推荐(0) 编辑
摘要:题目描述 在一个排序的链表中,存在重复的结点,请删除该链表中重复的结点,重复的结点不保留。 例如,链表1->2->3->3->4->4->5 处理后为 1->2->5 参考:https://blog.csdn.net/gangstudyit/article/details/80623477 1 #i 阅读全文
posted @ 2020-03-12 13:42 hemeiwolong 阅读(155) 评论(0) 推荐(0) 编辑
摘要:时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32M,其他语言64M 热度指数:3083 本题知识点: Java工程师 C++工程师 蘑菇街 测试工程师 动态规划 数学 校招时部分企业笔试将禁止编程题跳出页面,为提前适应,练习时请使用在线自测,而非本地IDE。 题目描述 有一个X* 阅读全文
posted @ 2020-02-21 15:48 hemeiwolong 阅读(237) 评论(0) 推荐(0) 编辑
摘要:参考:https://www.jianshu.com/p/e7a3ee0f82d9 1 #include<bits/stdc++.h> 2 using namespace std; 3 const int N=1e6+5; 4 double xi[N]; 5 struct node 6 { 7 in 阅读全文
posted @ 2019-04-17 13:28 hemeiwolong 阅读(101) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/qq278672818/article/details/54915636 首先贴上我一开始的部分正确代码: 1 #include<bits/stdc++.h> 2 using namespace std; 3 const int N=1e4+5; 4 阅读全文
posted @ 2019-04-11 22:39 hemeiwolong 阅读(173) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/weixin_42324771/article/details/87533713 阅读全文
posted @ 2019-03-02 21:30 hemeiwolong 阅读(618) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/yzl_rex/article/details/7600906 https://blog.csdn.net/acm_JL/article/details/50200355 https://blog.csdn.net/qq_35040828/artic 阅读全文
posted @ 2018-08-18 12:56 hemeiwolong 阅读(103) 评论(0) 推荐(0) 编辑
摘要:参考:http://www.cnblogs.com/ACShiryu/archive/2011/07/24/2115356.html 阅读全文
posted @ 2018-08-10 00:32 hemeiwolong 阅读(99) 评论(0) 推荐(0) 编辑
摘要:参考:https://www.cnblogs.com/lyy289065406/archive/2011/07/31/2122524.html 阅读全文
posted @ 2018-08-10 00:10 hemeiwolong 阅读(77) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/chudongfang2015/article/details/51378036 阅读全文
posted @ 2018-08-08 18:07 hemeiwolong 阅读(86) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/lianai911/article/details/41831645 阅读全文
posted @ 2018-08-06 09:36 hemeiwolong 阅读(110) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/xjh_shin/article/details/77491693 1 #include <iostream> 2 #include <cstdio> 3 #include <algorithm> 4 #include <cstring> 5 usi 阅读全文
posted @ 2018-08-03 22:56 hemeiwolong 阅读(108) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/zhongyuchen/article/details/77478039 阅读全文
posted @ 2018-08-03 22:42 hemeiwolong 阅读(119) 评论(0) 推荐(0) 编辑
摘要:参考:https://www.cnblogs.com/baozou/articles/4481191.html 阅读全文
posted @ 2018-07-31 20:12 hemeiwolong 阅读(132) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/neoxuhaotian/article/details/6112147 https://blog.csdn.net/lionel_d/article/details/44198125 阅读全文
posted @ 2018-07-31 19:34 hemeiwolong 阅读(113) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/u010885899/article/details/46636523 http://kqwd.blog.163.com/blog/static/4122344820091041127552/ https://blog.csdn.net/nanche 阅读全文
posted @ 2018-07-31 19:04 hemeiwolong 阅读(99) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/yzl_rex/article/details/7875065 https://blog.csdn.net/oranges_c/article/details/53396646 阅读全文
posted @ 2018-07-31 17:50 hemeiwolong 阅读(102) 评论(0) 推荐(0) 编辑
摘要:参考:https://www.cnblogs.com/Eric-keke/p/4679590.html https://blog.csdn.net/leelitian3/article/details/79293058 阅读全文
posted @ 2018-07-31 14:55 hemeiwolong 阅读(97) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/u011392408/article/details/28866779 https://blog.csdn.net/qq_36424540/article/details/78234240 阅读全文
posted @ 2018-07-31 11:29 hemeiwolong 阅读(93) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示