码迷,mamicode.com
首页 >  
搜索关键字:turn    ( 27138个结果
【BZOJ2656】 [Zjoi2012]数列(sequence)
2656: [Zjoi2012]数列(sequence) Description 小白和小蓝在一起上数学课,下课后老师留了一道作业,求下面这个数列的通项公式: 小白作为一个数学爱好者,很快就计算出了这个数列的通项公式。于是,小白告诉小蓝自己已经做出来了,但为了防止小蓝抄作业,小白并不想把公式公布出来 ...
分类:其他好文   时间:2017-03-07 16:51:01    阅读次数:214
[Ramda] Convert Object Methods into Composable Functions with Ramda
In this lesson, we'll look at how we can use Ramda's invoker and constructNfunctions to take methods of an object and turn them into reusable utility ...
分类:其他好文   时间:2017-03-07 16:44:04    阅读次数:136
unity3d中自动补全字段值(数组,list除外)
做UI过程中,经常会有对应父物体上面挂载相关脚本,脚本里面定义对应的UILabel、UISprite等,可开发过程中经常会遇到对应的Object拖动到了错误的位置,所以写了如下小工具,便于将物体快速,准确,无误的赋值到对应位置,注:字段名字必须和物体名字一致。 代码如下: 菜单栏中找到 CTool/ ...
分类:编程语言   时间:2017-03-07 15:13:03    阅读次数:544
【LeetCode】Math
[263] Ugly Number [Easy] 一个数的质因子只有2,3,5就叫丑数,写个函数判断丑数。 1 //Author: Wanying 2 //注意 0 和 1 的corner case, 你居然还没一次AC== 3 //想好了再写,不然等着挂吧==!!!!! 4 class Solut ...
分类:其他好文   时间:2017-03-07 13:23:06    阅读次数:189
jq表单
总结: 1.判断当前元素是某个元素 2.可以用this.value代替val() 3.绑定事件,在keyup和focus中,用trigglerHandler绑定blur事件 ...
分类:其他好文   时间:2017-03-07 13:12:32    阅读次数:156
CVE-2017-0016 Windows 10 SMBv3共享致BSOD POC
0x00.说明 在Kali linux上开启恶意SMB服务 (Windows上自身445端口已被占用) 在另一台Win10上查看共享文件,触发mrxsmb20.sys文件漏洞致使计算机蓝屏 0x01.POC示例 Win10.py odict.py 0x02.参考链接 Exploit-db:https ...
分类:Windows程序   时间:2017-03-07 11:31:52    阅读次数:808
使用js写一个作用于xml文件的ajax
1 2 3 4 63 64 65 People 66 67 Andy 68 jimy 69 lucy 70 lily 71 72 73 74 ... ...
分类:Web程序   时间:2017-03-07 10:46:09    阅读次数:252
487. Max Consecutive Ones II
Given a binary array, find the maximum number of consecutive 1s in this array if you can flip at most one 0. Example 1: Note: The input array will onl ...
分类:其他好文   时间:2017-03-07 08:46:32    阅读次数:260
best-time-to-buy-and-sell-stock-ii
//给定数组,统计各个数字的最大和。 ...
分类:其他好文   时间:2017-03-07 08:40:06    阅读次数:125
删除排序数组中的重复数字
if(nums.empty()) return 0 ; int len = nums.size(); int a = 1 ; for(int i=1;i<len;i++) { if(nums[i]!=nums[a-1]) { nums[a++] = nums[i]; } } return a; ...
分类:编程语言   时间:2017-03-07 08:14:31    阅读次数:161
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!