码迷,mamicode.com
首页 >  
搜索关键字:each    ( 14050个结果
HDU 1312 Red and Black (BFS)
Red and Black Time Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64u Submit Status Description There is a rectangular room, covered with square tiles. Each tile i...
分类:其他好文   时间:2014-09-01 17:43:43    阅读次数:264
LeetCode Solutions : Remove Duplicates from Sorted List I & II
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, r...
分类:其他好文   时间:2014-09-01 17:42:53    阅读次数:195
《JS 隔行换色》
/*控制隔行换色的JS*/ $().ready(function(){ $("tr").each(function(i){ this.style.backgroundColor = ['#F8F8F8', '#F2F2F2'][i % 2] });});
分类:Web程序   时间:2014-09-01 17:22:43    阅读次数:240
CC150 - 11.6
Question:Given an M x N matrix in which each row and each column is sorted in ascending order, write a method to find an element. 1 package POJ; 2 3 ....
分类:其他好文   时间:2014-09-01 02:44:02    阅读次数:209
Codeforces #264 (Div. 2) D. Gargari and Permutations
Gargari got bored to play with the bishops and now, after solving the problem about them, he is trying to do math homework. In a math book he have found k permutations. Each of them consists of numbe...
分类:其他好文   时间:2014-09-01 00:28:22    阅读次数:328
STL算法find,find_if,find_if_not,sort,fill,for_each,count,adjacent_find,random_shuffle,prev_permutation
1find查找 #include #include #include #include #include #include   using namespace std;   void main() {     vectorint> myv;     myv.push_bac...
分类:其他好文   时间:2014-08-31 22:57:32    阅读次数:286
Leetcode dfs Path SumII
Path Sum II  Total Accepted: 18489 Total Submissions: 68323My Submissions Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. For exampl...
分类:其他好文   时间:2014-08-31 21:28:11    阅读次数:180
OpenStackCLI调试及术语识记
1,Project are organizational units in the cloud,and are also known as tenants or accounts.Each user is a member of one or more projects.Within a proje...
分类:其他好文   时间:2014-08-31 21:20:43    阅读次数:249
Climbing Stairs <LeetCode>
You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb...
分类:其他好文   时间:2014-08-31 14:22:31    阅读次数:219
Linux下获取虚拟地址对应的物理地址的方法
首先摘录如下URL对pagemap的描述。 https://www.kernel.org/doc/Documentation/vm/pagemap.txt  * /proc/pid/pagemap.  This file lets a userspace process find out which    physical frame each virtual page is map...
分类:系统相关   时间:2014-08-31 09:14:51    阅读次数:805
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!