摘要: 2019.5.01 咕咕咕 集训室断电断网 给自己放假 2019.5.02 luogu P1031 均分纸牌 (模拟+贪心) luogu P1042 乒乓球 (模拟) luogu P1086 花生采摘 (模拟+优先队列) 2019.5.03 咕咕咕 2019.5.04 codejam round1c 阅读全文
posted @ 2019-05-02 13:58 周园顾 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 菜鸡选手开始攻克计算几何之路 战术研究: 不要读错题(!!!) 注意精度控制 一般情况下eps开到1e-10 找到适合的模板 前期用kuangbin的板子磕磕绊绊敲题 现在用经诗姐姐的板子(感谢经诗姐姐!)后期研究出适合自己手感的板子(自己造板子) 千万千万不要敲错板子!! 在大量计算过程中注意精度 阅读全文
posted @ 2018-10-23 13:51 周园顾 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 一、链表的基础操作 1.定义一个链表 struct ListNode{ int val; ListNode *next,*last; ListNode(int x):val(x),next(NULL),last(NULL){} }; 2.创建一个基础链表(长度为n) ListNode* create 阅读全文
posted @ 2020-03-25 03:00 周园顾 阅读(437) 评论(0) 推荐(0) 编辑
摘要: 算是个记录贴 防止下次出现这个情况又要去搜索 1.git push出现以下情况时: 我选择的策略是: 如果是这样: 重新设置一遍: 倘若出现各种错误 可以尝试下这个: 也不懂原理是啥 反正就神奇的git出去了 emmmmmmmmmmmmmmmmmm 阅读全文
posted @ 2020-03-22 01:33 周园顾 阅读(103) 评论(0) 推荐(0) 编辑
摘要: c++ primer STL源码剖析 深度潭所c++对象模型 Effective C++:改善程序与设计的55个具体做法 计算机网络:自顶向下 TCP/IP详解卷1 linux环境编程apue和unp 后台开发:核心技术与应用实践 深入理解linux内核 linux内核设计与实现 深入理解计算机系统 阅读全文
posted @ 2020-02-27 03:09 周园顾 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 链接:https://www.lydsy.com/JudgeOnline/problem.php?id=1398 题目: Description 给定两个项链的表示,判断他们是否可能是一条项链。 给定两个项链的表示,判断他们是否可能是一条项链。 Input 输入文件只有两行,每行一个由0至9组成的字 阅读全文
posted @ 2019-08-08 23:34 周园顾 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 链接:http://acm.hdu.edu.cn/showproblem.php?pid=2609 题目: Problem Description Give you n ( n < 10000) necklaces ,the length of necklace will not large tha 阅读全文
posted @ 2019-08-08 23:22 周园顾 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 1001 1002 1003 1004 1005 1006 String (HDOJ 6572) 链接:http://acm.hdu.edu.cn/showproblem.php?pid=6572 代码: #include <bits/stdc++.h> using namespace std; c 阅读全文
posted @ 2019-07-23 16:28 周园顾 阅读(726) 评论(0) 推荐(0) 编辑
摘要: 链接:http://acm.hdu.edu.cn/showproblem.php?pid=2594 题目: Problem Description Homer: Marge, I just figured out a way to discover some of the talents we we 阅读全文
posted @ 2019-05-13 21:14 周园顾 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 链接:http://poj.org/problem?id=3080 题目: Description The Genographic Project is a research partnership between IBM and The National Geographic Society th 阅读全文
posted @ 2019-05-12 18:56 周园顾 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 链接:https://www.luogu.org/problemnew/show/P1098 题目: 题目描述 在初赛普及组的“阅读程序写结果”的问题中,我们曾给出一个字符串展开的例子:如果在输入的字符串中,含有类似于“d-h”或者“4-8”的字串,我们就把它当作一种简写,输出时,用连续递增的字母或 阅读全文
posted @ 2019-05-06 19:26 周园顾 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 链接:https://codingcompetitions.withgoogle.com/codejam/round/00000000000516b9/0000000000134e91 题目: Problem Go, go, Power Arrangers! Everyone loves this 阅读全文
posted @ 2019-05-06 18:37 周园顾 阅读(390) 评论(0) 推荐(0) 编辑