# # URL Remapping Config File # # Using remap.config allows you to accomplish two things: # # 1) Rewrite a URL (from the client) before sending it to ... ...
分类:
其他好文 时间:
2017-12-05 16:01:54
阅读次数:
149
关于决策树,想必大部分人都已经耳熟能详了,这是一种用来预测行为的树状分叉结构。本文主要想总结一下最常用的决策树生成算法 构造的原则 熟悉决策树的你一定记得,决策树每个非叶子结点对应的其实是一个属性。比方说,想判断一个男生是不是 gay,我们首先需要判断他的性别是不是男的,是的话继续判断他的性取向,之 ...
分类:
编程语言 时间:
2017-12-05 11:52:36
阅读次数:
238
莫比乌斯反演 初学莫比乌斯反演 先膜一发高神:orz Gay神 莫比乌斯反演 有两种形式。。。 第一种: 如果我们有函数$f(x)$,以及$g(x)$,并且有: $$g(x)=\sum_{d|x}f(x)$$ 那么,我们就有: $$f(x)=\sum_{d|x}\mu(\frac{x}{d})g(x ...
分类:
其他好文 时间:
2017-12-02 12:57:24
阅读次数:
119
[本文出自天外归云的博客园] 安装 首先你得去图灵机器人官网上注册个账号,登录后在机器人设置里面会有一个api_key,下文会用到! 然后说开发环境,我用的是python3环境,事先需要安装一下wxpy库: 国内安装可能得多试几次,或者从豆瓣 PYPI 镜像源下载安装 (推荐国内用户选用): 使用 ...
分类:
微信 时间:
2017-12-01 22:09:35
阅读次数:
259
题目: Once in a forest, there lived N aggressive monkeys. At the beginning, they each does things in its own way and none of them knows each other. But ...
分类:
其他好文 时间:
2017-11-25 15:18:35
阅读次数:
119
一开始一直wa,因为第一个数字t也是多组输入。 然后一直超时,因为我用的是C++里面的cin,所以非常耗时,几乎比scanf慢了10倍,但是加上了一个语句后: std::ios::sync_with_stdio(false); //是用来禁用cin这个兼容性的特性,禁用后就相差无几了 ...
分类:
其他好文 时间:
2017-11-18 21:02:03
阅读次数:
115
题目描述: On his trip to Luxor and Aswan, Sagheer went to a Nubian market to buy some souvenirs for his friends and relatives. The market has some strange ...
分类:
其他好文 时间:
2017-11-16 11:51:18
阅读次数:
171
Bessie has moved to a small farm and sometimes enjoys returning to visit one of her best friends. She does not want to get to her old home too quickly ...
分类:
数据库 时间:
2017-11-15 21:53:30
阅读次数:
342
线性gay - - 分析:要求和尽量大,首先可以想到,求完线性基后,记最大异或为Max,对于线性基以外的数,都可以变成Max,剩下的线性无关,变成最小线性基,可以通过异或基中最大的数把所有的最高位变成1,这样显然是最优的,然后把最大的数异或成Max,去掉这个数后再考虑剩下的数,以此类推,相当于最大的 ...
分类:
其他好文 时间:
2017-11-10 00:16:19
阅读次数:
129
题目描述 Bessie has two crisp red apples to deliver to two of her friends in the herd. Of course, she travels the C (1 <= C <= 200,000) cowpaths which are ...
分类:
移动开发 时间:
2017-11-09 18:44:25
阅读次数:
174