摘要: 划水两天。 给61级和62级都讲过课了,圆了一个梦吧。 62级好好学,61级更是。 老人进养老院了,小孩子也该从幼稚园出来了。 祝广一所有OIER,前程似锦,实力++,rp++。 奶一口zbq:NOI2019 AK不了,只能以695的成绩遗憾摘金进队逃过高考追得妹子成为人生赢家。 一年零一个月高考祭 阅读全文
posted @ 2019-05-07 19:57 whymhe 阅读(456) 评论(8) 推荐(5) 编辑
摘要: 1. This moment will nap, you will have a dream; but this moment study, you will interpret a dream.此刻打盹,你将做梦;而此刻学习,你将圆梦。2. I leave uncultivated today, 阅读全文
posted @ 2018-09-20 20:39 whymhe 阅读(521) 评论(7) 推荐(0) 编辑
摘要: 树状数组 https://blog.csdn.net/flushhip/article/details/79165701 FFT https://blog.csdn.net/ggn_2015/article/details/68922404 良心的可持久化线段树教程:http://www.cnblo 阅读全文
posted @ 2018-07-22 15:30 whymhe 阅读(313) 评论(2) 推荐(0) 编辑
摘要: 估计是做不完。。 emmmm 不用估计,是肯定 马上就滚回去学文化课了。。。。 、、、、列表全都是数据结构。。。 mdzz 我可能是傻了 2、P4243 [JSOI2009]等差数列 线段树 https://www.luogu.org/problemnew/show/P4243 主席树 P3313 阅读全文
posted @ 2018-04-08 17:22 whymhe 阅读(257) 评论(1) 推荐(1) 编辑
摘要: 菜鸡万年更博。 全是菜题。 SP1811 LCS - Longest Common Substring 对一个串建立自动机,另一个串在自动机上遍历,失配时跳father更新即可。ans=遍历到的点的len的最大值。 #include<iostream> #include<cstdio> #inclu 阅读全文
posted @ 2019-04-14 11:35 whymhe 阅读(182) 评论(4) 推荐(1) 编辑
摘要: 单位根 蒟蒻退役前17天首次明白单位根之和等于0. 图片来源于wiki截图。 用到了欧拉公式: $e^{\pi i}= 1.$ 阅读全文
posted @ 2019-03-20 21:25 whymhe 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 看了一天的多项式的内容,看博客的时候好像还是那么回事,一看题,哇塞,发现我其实连卷积是啥都没看懂。 qtdydb,背板子。 不知道卷积是啥就很伤了。 P3803 【模板】多项式乘法(FFT) #include<iostream> #include<cstdio> #include<cmath> #i 阅读全文
posted @ 2019-01-03 22:07 whymhe 阅读(275) 评论(1) 推荐(1) 编辑
摘要: Link 题目描述 Farmer John is considering buying more land for the farm and has his eye on N (1 <= N <= 50,000) additional rectangular plots, each with int 阅读全文
posted @ 2018-12-11 09:40 whymhe 阅读(297) 评论(1) 推荐(0) 编辑
摘要: Hdu 2089 不要62 #include<iostream> #include<cstdio> #include<cmath> #include<cstring> #include<algorithm> using namespace std; typedef long long LL; inl 阅读全文
posted @ 2018-10-30 22:28 whymhe 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 传送门:http://acm.hdu.edu.cn/showproblem.php?pid=4035 Problem Description When wake up, lxhgww find himself in a huge maze.The maze consisted by N rooms 阅读全文
posted @ 2018-10-14 22:13 whymhe 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 题目描述 求一个给定的圆(x^2+y^2=r^2),在圆周上有多少个点的坐标是整数。 输入输出格式 输入格式: r 输出格式: 整点个数 输入输出样例 输入样例#1: 复制 4 输出样例#1: 复制 4 输入样例#1: 复制 4 输出样例#1: 复制 4 说明 n<=2000 000 000 阅读全文
posted @ 2018-09-13 10:49 whymhe 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 题目链接 阅读全文
posted @ 2018-09-12 11:47 whymhe 阅读(469) 评论(0) 推荐(0) 编辑