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
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*/ $().ready(function(){ $("tr").each(function(i){ this.style.backgroundColor = ['#F8F8F8', '#F2F2F2'][i % 2] });});
分类:
Web程序 时间:
2014-09-01 17:22:43
阅读次数:
240
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
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
1find查找
#include
#include
#include
#include
#include
#include
using
namespace
std;
void
main()
{
vectorint>
myv;
myv.push_bac...
分类:
其他好文 时间:
2014-08-31 22:57:32
阅读次数:
286
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
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
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
首先摘录如下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