随笔分类 - 算法基础
摘要: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 }
阅读全文
摘要:链接:https://www.nowcoder.com/questionTerminal/0f3bdc60198244d9a8893b843afd2310来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32M,其他语言64M 算法知识视频讲解 合并两个内容流,实现隔4个
阅读全文
摘要:题目描述 在一个排序的链表中,存在重复的结点,请删除该链表中重复的结点,重复的结点不保留。 例如,链表1->2->3->3->4->4->5 处理后为 1->2->5 参考:https://blog.csdn.net/gangstudyit/article/details/80623477 1 #i
阅读全文
摘要:时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32M,其他语言64M 热度指数:3083 本题知识点: Java工程师 C++工程师 蘑菇街 测试工程师 动态规划 数学 校招时部分企业笔试将禁止编程题跳出页面,为提前适应,练习时请使用在线自测,而非本地IDE。 题目描述 有一个X*
阅读全文
摘要:参考: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
阅读全文
摘要:参考:https://blog.csdn.net/qq278672818/article/details/54915636 首先贴上我一开始的部分正确代码: 1 #include<bits/stdc++.h> 2 using namespace std; 3 const int N=1e4+5; 4
阅读全文
摘要:参考:https://blog.csdn.net/weixin_42324771/article/details/87533713
阅读全文
摘要:参考: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
阅读全文
摘要:参考:http://www.cnblogs.com/ACShiryu/archive/2011/07/24/2115356.html
阅读全文
摘要:参考:https://www.cnblogs.com/lyy289065406/archive/2011/07/31/2122524.html
阅读全文
摘要:参考:https://blog.csdn.net/chudongfang2015/article/details/51378036
阅读全文
摘要:参考:https://blog.csdn.net/lianai911/article/details/41831645
阅读全文
摘要:参考:https://blog.csdn.net/xjh_shin/article/details/77491693 1 #include <iostream> 2 #include <cstdio> 3 #include <algorithm> 4 #include <cstring> 5 usi
阅读全文
摘要:参考:https://blog.csdn.net/zhongyuchen/article/details/77478039
阅读全文
摘要:参考:https://www.cnblogs.com/baozou/articles/4481191.html
阅读全文
摘要:参考:https://blog.csdn.net/neoxuhaotian/article/details/6112147 https://blog.csdn.net/lionel_d/article/details/44198125
阅读全文
摘要:参考:https://blog.csdn.net/u010885899/article/details/46636523 http://kqwd.blog.163.com/blog/static/4122344820091041127552/ https://blog.csdn.net/nanche
阅读全文
摘要:参考:https://blog.csdn.net/yzl_rex/article/details/7875065 https://blog.csdn.net/oranges_c/article/details/53396646
阅读全文
摘要:参考:https://www.cnblogs.com/Eric-keke/p/4679590.html https://blog.csdn.net/leelitian3/article/details/79293058
阅读全文
摘要:参考:https://blog.csdn.net/u011392408/article/details/28866779 https://blog.csdn.net/qq_36424540/article/details/78234240
阅读全文