原始Liunx 的python版本不带numpy ,安装了anaconda 之后,使用hadoop streaming 时无法调用anaconda python , 后来发现是参数没设置好。。。 进入正题: 环境: 4台服务器:master slave1 slave2 slave3。 全部安装ana ...
分类:
编程语言 时间:
2017-06-05 22:15:29
阅读次数:
362
https://mp.weixin.qq.com/s/P-a-n1PsBL5hLZWVxyuLQw 「论文访谈间」是由 PaperWeekly 和中国中文信息学会青工委联合发起的论文报道栏目,旨在让国内优质论文得到更多关注和认可。 这是第 6 期「论文访谈间」 论文作者 | 陈新驰、施展、邱锡鹏、黄 ...
分类:
其他好文 时间:
2017-06-05 19:24:16
阅读次数:
586
【算法】回文树 #include<cstdio> #include<algorithm> #include<cstring> using namespace std; const int maxn=100010; struct trees{int len,fail,t[260];}t[maxn]; ...
分类:
编程语言 时间:
2017-06-05 18:01:02
阅读次数:
182
当用NDK编译的库在执行载入时报例如以下错: dlopen("/data/data/xxx.xxx.xxx/lib/libxxx.so") failed: dlopen failed: cannot locate symbol "__exidx_end" referenced by "libxxx. ...
分类:
其他好文 时间:
2017-06-05 14:17:04
阅读次数:
529
其实很久以来我都把sam当成ac自动机了 ac自动机的建立比sam简单多了 直接暴力建字典树,然后暴力跑fail就好了 (挖个坑:去学fail树) 裸题A一道,岂不美哉 ...
分类:
其他好文 时间:
2017-06-04 18:29:10
阅读次数:
126
MicroRNA研究历史和方法 MicroRNA研究历史和方法 Views 88 1Report Views 88 ...
分类:
其他好文 时间:
2017-06-04 13:51:19
阅读次数:
175
It's during our darkest moments that we must focus to see the light. 在最黑暗的时刻,最该努力看到光。 I always thought the past tens of years were the darkest moments ...
分类:
其他好文 时间:
2017-06-04 09:44:26
阅读次数:
152
简单的看了一下mapreduce,我尝试不看详细的api去做一个group效果,结果遇到了很多问题,罗列在这里,如果别人也遇到了类似的bug,可以检索到结果。 //先看person表的数据 > db.person.find(); { "_id" : ObjectId("593011c8a924979... ...
分类:
数据库 时间:
2017-06-03 15:18:00
阅读次数:
350
回文自动机讲解!http://blog.csdn.net/u013368721/article/details/42100363 pam上每个点代表本质不同的回文子串。len(i)代表长度,cnt(i)代表个数(要最后在fail树上dp一遍方可)。 答案直接枚举一遍结点,然后用len(i)*cnt( ...