码迷,mamicode.com
首页 >  
搜索关键字:function    ( 54714个结果
jQuery中$(function(){})
jQuery中$(function(){})
分类:Web程序   时间:2015-07-06 23:16:05    阅读次数:122
20150706 js之定时器
setInterval(a,1000);其中参数一为一个函数名,第二个为一个数值,单位为毫秒。function a(){ console.log('wyl');}setInterval(a,1000) setInterval 的会一直执行,简直停不下来。与之对应的是setTimeout则只执行...
分类:Web程序   时间:2015-07-06 23:13:33    阅读次数:163
泛函编程(32)-泛函IO:IO Monad
由于泛函编程非常重视函数组合(function composition),任何带有副作用(side effect)的函数都无法实现函数组合,所以必须把包含外界影响(effectful)副作用不纯代码(impure code)函数中的纯代码部分(pure code)抽离出来形成独立的另一个纯函数。.....
分类:其他好文   时间:2015-07-06 23:08:28    阅读次数:141
LeetCode100 SameTree java题解
题目: Given two binary trees, write a function to check if they are equal or not. Two binary trees are considered equal if they are structurally identical and the nodes have the same value. 解题:...
分类:编程语言   时间:2015-07-06 21:49:34    阅读次数:132
ZOJ 3772 Calculate the Function(矩阵线段树)
Description You are given a list of numbers A1A2 .. AN and M queries. For the i-th query: The query has two parameters Li and Ri.The query will define a function Fi(x) on the domain [Li, Ri] ∈...
分类:其他好文   时间:2015-07-06 21:48:51    阅读次数:92
[LeetCode] Power of Two
Power of TwoGiven an integer, write a function to determine if it is a power of two.Credits:Special thanks to@jianchao.li.fighterfor adding this probl...
分类:其他好文   时间:2015-07-06 21:38:27    阅读次数:159
zf-关于通知公告如果发布的是无限制时间的,那么默认隐藏时间输入框的问题
function initElements(network){ var nonoticeLimit = document.getElementById("nonoticeLimit"); if(nonoticeLimit.value=='1'){ ...
分类:其他好文   时间:2015-07-06 21:33:57    阅读次数:406
Binary to Text (ASCII) Conversion
Binary to Text (ASCII) ConversionDescription:Write a function that takes in a binary string and returns the equivalent decoded text (the text is ASCII...
分类:其他好文   时间:2015-07-06 21:27:54    阅读次数:115
存储过程使用游标变量返回结果集
存储过程使用游标变量返回结果集1)登录SQLPLUS,用户为SCOTT,利用该用户提供的表EMP[sql]C:/Users/Administrator>sqlplus scott/scott 2)编写一个FUNCTION,返回值为游标变量[sql]CREATE OR REPLACE FUNCTION...
分类:其他好文   时间:2015-07-06 21:21:52    阅读次数:101
Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:其他好文   时间:2015-07-06 21:18:48    阅读次数:101
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!