码迷,mamicode.com
首页 >  
搜索关键字:each    ( 14050个结果
HDU3199 Hamming Problem 【数论】
Hamming Problem Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 703    Accepted Submission(s): 289 Problem Description For each thr...
分类:其他好文   时间:2014-08-26 23:02:36    阅读次数:409
Jump Game
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:其他好文   时间:2014-08-26 22:45:26    阅读次数:254
LeetCode 54 Jump Game
Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Determine if yo...
分类:其他好文   时间:2014-08-26 17:33:46    阅读次数:200
写了个下拉列表插件,有BUG,请教大家指点
前端UI分享 ;(function ($) { $.fn.DrowDowEditor = function (opts) { opts = jQuery.extend({ panel:$(this), data: null }, opts || {}); return this.each(function()...
分类:其他好文   时间:2014-08-26 17:27:17    阅读次数:163
HDU4974:A simple water problem
Problem Description Dragon is watching competitions on TV. Every competition is held between two competitors, and surely Dragon's favorite. After each competition he will give a score of either 0 o...
分类:其他好文   时间:2014-08-26 15:39:06    阅读次数:181
HDU4973:A simple simulation problem.(线段树)
Problem Description There are n types of cells in the lab, numbered from 1 to n. These cells are put in a queue, the i-th cell belongs to type i. Each time I can use mitogen to double the cells in ...
分类:其他好文   时间:2014-08-26 15:38:46    阅读次数:270
ZOJ3798:Abs Problem
Alice and Bob is playing a game, and this time the game is all about the absolute value! Alice has N different positive integers, and each number is not greater than N. Bob has a lot of blank paper, ...
分类:其他好文   时间:2014-08-26 15:37:46    阅读次数:228
Leetcode:Edit Distance 字符串编辑距离
原题戳我Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)You ha...
分类:其他好文   时间:2014-08-26 00:14:25    阅读次数:334
jQuery遍历table中的tr td并获取td中的值
jQuery遍历table中的tr td并获取td中的值 $(function(){      $("#tableId tr").find("td").each(function(){    var year = $("#year").val();    var month = $("#month").val();            var day = $(this).tex...
分类:Web程序   时间:2014-08-25 22:53:25    阅读次数:242
CF-85D-Sum of Medians(线段树)
In one well-known algorithm of finding the k-th order statistics we should divide all elements into groups of five consecutive elements and find the median of each five. A median is called the middl...
分类:其他好文   时间:2014-08-25 22:50:55    阅读次数:297
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!