码迷,mamicode.com
首页 >  
搜索关键字:cf    ( 2836个结果)
CF with friends and user's influence considered on NYC data(updated Aug,11st)
Here is the code link: https://github.com/FassyGit/LightFM_liu/blob/master/U_F1.py I use NYC data as other experimens. The split of the training data ...
分类:其他好文   时间:2017-08-11 23:55:10    阅读次数:211
CF 714D Searching Rectangles 交互题 二分
题意:交互题,已知一个n*n的地图,电脑藏了两个不相交的矩形(矩形的边和坐标轴平行).每次向电脑询问左下[x1,y1]右上[x2,y2]的矩形内完全包含多少个藏着的矩形.n<=2^16.请在200次内猜出两个矩形左下,右上坐标. 先二分出两个不相交矩形的分界线,要么横着要么竖着.接在在每一快中二分出 ...
分类:其他好文   时间:2017-08-11 22:08:59    阅读次数:131
inux : inet_protocols: IPv6 support is disabled: Address family not supported by protocol
在sendmail,命令发送邮件时提示 inux : inet_protocols: IPv6 support is disabled: Address family not supported by protocol vim /etc/postfix/main.cf inet_protocols ...
分类:Web程序   时间:2017-08-10 11:50:30    阅读次数:232
汇编第六日
flag寄存器: ZF=1表示计算结果为0,反之 PF = 0表示计算结果二进制表示中1的个数为奇数,反之 SF = 0表示计算结果为正,反之 CF为1,在加法中表明结果出现仅为,在减法中表明结果出现借位,反之 OF = 1表示计算结果溢出,反之 对于无符号数,CPU用CF位记录计算结果是否产生进位 ...
分类:其他好文   时间:2017-08-06 22:56:46    阅读次数:169
Linux C高级编程——网络编程之以太网(2)
Linux网络编程——以太网 宗旨:技术的学习是有限的,分享的精神是无限的。 1、以太网帧格式 源地址和目的地址是指网卡的硬件地址(也叫MAC地址),长度是48位,是在网卡出厂时固化的。用ifconfig命令查看,“ 硬件地址 00:0c:29:cf:7e:1a ” 。协议字段有三种值,分别相应IP ...
分类:系统相关   时间:2017-08-06 20:56:52    阅读次数:289
cf搬题
rand 题基本上是CD吧,AB不想做,E太难了233~ + 看别人代码 - 自己写的 * 看题解的 315D + 给定两个string a b,以及他们出现的次数c,d 求找到一个最大p,使得整个b串为a的子串。 我们对于b的每一位都找到a串的结束的位置nxt数组,然后如果匹配了,把b串的cnt+ ...
分类:其他好文   时间:2017-08-03 12:31:02    阅读次数:102
CF Round410 D. Mike and distribution
D. Mike and distribution 构造法 798D - Mike and distribution In the beginning, it's quite easy to notice that the condition " 2·(ap1?+?...?+?apk) is grea ...
分类:其他好文   时间:2017-08-02 00:28:26    阅读次数:181
CF Round410 C. Mike and gcd problem
C. Mike and gcd problem 一奇一偶需要两次操作,两个奇数需要一次操作。 798D - Mike and distribution In the beginning, it's quite easy to notice that the condition " 2·(ap1?+? ...
分类:其他好文   时间:2017-08-01 20:47:09    阅读次数:171
Alternating Least Squares(ASL) for Implicit Feedback Datasets的数学推导以及用Python实现
近期在看CF的相关论文,《Collaborative Filtering for Implicit Feedback Datasets》思想非常好,非常easy理解。可是从目标函数 是怎样推导出Xu和Yi的更新公式的推导过程却没有非常好的描写叙述。所以以下写一下 推导: 首先对Xu求导: 当中Y是i ...
分类:数据库   时间:2017-08-01 20:39:19    阅读次数:196
codeforces438D The Child and Sequence
题面:codeforces438D 正解:线段树。 这题好像是$picks$出的题,然后无限弱化才上的$cf$。。 区间取模,每个数取模以后至少$/2$,所以暴力搞即可。 证明:若$p<x/2$,那么$x \ mod \ p<x/2$;若$p>x/2$,那么$ x \ mod \ p=x-p<x/2 ...
分类:其他好文   时间:2017-08-01 14:40:19    阅读次数:199
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!