"链接" 一面 1 找一个无序数组的中位数 老题,方法有: 1. 先排序再定位 2. 最大堆和最小堆配合 3. 变体的快排 代码: c++ include include include include include include include include using namespace ...
分类:
其他好文 时间:
2018-08-16 13:33:28
阅读次数:
180
题目传送门 Keywords Search Problem Description In the modern time, Search engine came into the life of everybody like Google, Baidu, etc.Wiskey also wants ...
分类:
其他好文 时间:
2018-08-14 11:39:39
阅读次数:
188
《九州体育网APP杂志》(JAMA)最近刊登一项最新的研讨报告指出,高度运用数位媒体的青少年,他们的留意力不会集(过动症)是其他青少年的两倍。九州体育网APP学家对此也表明,手机萤幕看太久会损伤魂灵。 九州体育网APP「生命之道基督教资源」(LifeWay Christian Resources)的 ...
分类:
移动开发 时间:
2018-08-12 18:56:43
阅读次数:
186
HDU1289 带权并查集 Problem Description Background Professor Hopper is researching the sexual behavior of a rare species of bugs. He assumes that they featu ...
分类:
其他好文 时间:
2018-08-08 21:28:33
阅读次数:
164
题意 输入n(n<=100)个字符串,每个字符串长度<=1000,你的任务是找出一个最长的字符串使得超过一半的字符串都包含这个字符串。 分析 训练指南上后缀数组的一道例题,据说很经典(估计也就是height分组比较常用)。但是训练指南上给出的中文题面真滴坑B啊!书上说,连续出现,我懵逼了好久! 我们 ...
分类:
编程语言 时间:
2018-08-08 00:55:22
阅读次数:
235
传送门: http://acm.hdu.edu.cn/showproblem.php?pid=1829 A Bug's Life Time Limit: 15000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Tota ...
分类:
其他好文 时间:
2018-08-06 21:10:03
阅读次数:
182
1. Python主流用法 2. Python之禅 Simple is better than complex 简洁胜于复杂 3. Life is short, I use Python 4. Python特性 既有动态脚本的特性,又有面向对象的特性。 5. Python缺点 慢:相较于C、C++、 ...
分类:
编程语言 时间:
2018-08-06 18:25:36
阅读次数:
197
才发现,原来生活的温柔就是最好的朋友就在身边,最爱的人就在对面2018.08.10比较幸运的买到了首映票爱情公寓,这部电影,不管票房好不好,拍得烂不烂为什么要在乎这些呢即使是那群人乱演一通我也爱看在这个利欲熏心的社会,在这个浮躁的社会能够维持住本心,本身就是很难得的一件事了若爱请深爱,不爱请滚开爱情 ...
分类:
其他好文 时间:
2018-08-05 22:39:13
阅读次数:
174
http://acm.hdu.edu.cn/showproblem.php?pid=2106 Problem Description As we know , we always use the decimal system in our common life, even using the co ...
分类:
其他好文 时间:
2018-08-03 01:05:38
阅读次数:
173
1036: Shepherd Description Hehe keeps a flock of sheep, numbered from 1 to n and each with a weight wi. To keep the sheep healthy, he prepared some tr ...
分类:
其他好文 时间:
2018-08-01 14:29:35
阅读次数:
128