码迷,mamicode.com
首页 >  
搜索关键字:each    ( 14050个结果
Java系列(1)----Java特性
一.Java的关键特性1.简单性2.安全性3.可移植性4.面向对象5.健壮性6.多线程7.体系结构中立8.解释执行9.高性能10.分布式11.动态性二.J2SE 5的主要特性1.泛型2.注解(annotation)3.自动装箱和自动拆箱4.枚举5.增强for-each风格的for循环6.可变长度参数...
分类:编程语言   时间:2014-08-12 00:16:43    阅读次数:260
UVA 10986 Sending email(SPFA)
There are n SMTP servers connected by network cables. Each of the m cables connects two computers and has a certain latency measured in milliseconds required to send an email message. What is the sh...
分类:其他好文   时间:2014-08-11 21:25:02    阅读次数:384
POJ 3268 Silver Cow Party(SPFA)
Description One cow from each of N farms (1 ≤ N ≤ 1000) conveniently numbered 1..N is going to attend the big cow party to be held at farm #X (1 ≤ X ≤ N). A total of M (1 ≤ M ≤ 100,000) unidirectio...
分类:其他好文   时间:2014-08-11 21:23:43    阅读次数:303
ZOJ3541:The Last Puzzle(区间DP)
There is one last gate between the hero and the dragon. But opening the gate isn't an easy task. There were n buttons list in a straight line in front of the gate and each with an integer on it. Like...
分类:其他好文   时间:2014-08-11 21:22:33    阅读次数:341
HDU-3309-Roll The Cube(BFS)
Problem Description This is a simple game.The goal of the game is to roll two balls to two holes each. 'B' -- ball 'H' -- hole '.' -- land '*' -- wall Remember when a ball rolls into a hole, the...
分类:其他好文   时间:2014-08-11 21:22:12    阅读次数:308
leetcode -- Copy List with Random Pointer
你以为那是你的极限,也许只是别人的起点[问题描述]A linked list is given such that each node contains an additional random pointer which could point to any node in the list or...
分类:其他好文   时间:2014-08-11 21:15:12    阅读次数:182
[leetcode]Search a 2D Matrix
Search a 2D MatrixWrite an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integers in each row...
分类:其他好文   时间:2014-08-11 21:14:42    阅读次数:179
leetcode 刷题之路 76 Remove Duplicates from Sorted List
Given a sorted linked list, delete all duplicates such that each element appear only once. For example, Given 1->1->2, return 1->2. Given 1->1->2->3->3, return 1->2->3. 删除排序链表中重复的节点,删除操作...
分类:其他好文   时间:2014-08-11 18:01:22    阅读次数:243
JUC——Exchanger
A synchronization point at which threads can pair and swap elements within pairs. Each thread presents some object on entry to the exchange method, matches with a partner thread, and receives its par...
分类:其他好文   时间:2014-08-11 17:57:12    阅读次数:303
JS checkbox 全选 全不选
/* JS checkbox 全选 全不选 Html中checkbox: "/> 以下方法各有优劣,使用时根据情况而定.*///全选(方法一:each 循环)function checkAll() { $.each($("input[name=cbx]"), func...
分类:Web程序   时间:2014-08-11 17:45:22    阅读次数:182
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!