题目:You have a necklace of N red, white, or blue
beads (3#include #include #define MAXN 400char necklace[MAXN];int len;/* *
Return n mod m. The C % o.....
分类:
其他好文 时间:
2014-05-01 12:04:19
阅读次数:
497
原题地址:http://oj.leetcode.com/problems/swap-nodes-in-pairs/题意:将链表中的节点两两交换。Given1->2->3->4,
you should return the list as2->1->4->3.解题思路:这题主要涉及到链表的操作,没什么...
分类:
编程语言 时间:
2014-05-01 06:44:21
阅读次数:
339
Designing Your App’s ProductsAproductis
something you want to sell in your app’s store. You create and configure
products in iTunes Connect, and your ...
分类:
移动开发 时间:
2014-05-01 06:25:43
阅读次数:
655
The variables are guaranteed to be laid out
contiguously, as in C. However, the access blocks may not appear in the object
in the order that you decla...
分类:
数据库 时间:
2014-05-01 04:11:22
阅读次数:
543
As you must have experienced, instead of
landing immediately, an aircraft sometimes waits in a holding loop close to the
runway. This holding mechanis...
分类:
其他好文 时间:
2014-05-01 03:51:48
阅读次数:
477
We sometimes got memory leak problem, and we need to find the leaked memory, Here is a useful tool from MS, UMDH, it is included in WinDBG install package.
Here is a introduction on how to UMDH to identify memory leak problems...
分类:
其他好文 时间:
2014-04-29 13:38:21
阅读次数:
374
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.
Note: You can only move either down or right at...
分类:
其他好文 时间:
2014-04-28 10:46:41
阅读次数:
311
A Simple Problem with Integers
Time Limit: 5000MS
Memory Limit: 131072K
Total Submissions: 55626
Accepted: 16755
Case Time Limit: 2000MS
Description
You have N...
分类:
其他好文 时间:
2014-04-28 10:23:41
阅读次数:
282
为了避免目标端nrpe进程监控多个接口而造成的安全漏洞。有必要固定服务端的地址,对nrpe.cfg配置中,有下列一行介绍
#SERVER ADDRESS
# Address that nrpe should bind to in case there are more than one interface
# and you do not want nrpe to bind on all in...
分类:
其他好文 时间:
2014-04-27 22:36:17
阅读次数:
454
This articles will show how to avoid the leak of the memory in c++, I just use this articles to summerise something, and show how awesome my English is. If someone need Chinese version, just told me....
分类:
编程语言 时间:
2014-04-27 22:22:19
阅读次数:
430