这个比较简单,慢慢进入状态。A Pythagorean triplet is a set of
three natural numbers, a b c, for which,a2 + b2 = c2For example, 32 + 42 = 9 +
16 = 25 = 52.There ex.....
分类:
其他好文 时间:
2014-05-09 10:35:46
阅读次数:
266
var userF = new List(); User m1 = new User() { Id =
"0" }; userF.Add(m1); var us...
分类:
其他好文 时间:
2014-05-09 04:26:48
阅读次数:
280
Power of CryptographyDescriptionCurrent work in
cryptography involves (among other things) large prime numbers and computing
powers of numbers among t...
分类:
其他好文 时间:
2014-05-09 03:43:36
阅读次数:
260
Given a triangle, find the minimum path sum
from top to bottom. Each step you may move to adjacent numbers on the row
below.For example, given the fol...
分类:
编程语言 时间:
2014-05-08 18:31:51
阅读次数:
399
使用asp.net导出Excel有多重方法。经过总结,现推荐一种简易方法,不用再记那些复杂的类名了。code:using
System.Data;using System.IO;//add Microsoft.Excel refference and set operation
right in s...
分类:
Web程序 时间:
2014-05-08 18:16:51
阅读次数:
276
在我们部署redis之前,先了解下redis到底是个啥东西。
redis是一个key-value存储系统。和Memcached类似,它支持存储的value类型相对更多,包括string(字符串)、
list(链表)、set(集合)和zset(有序集合)。这些数据类型都支持push/pop、add/r...
分类:
Web程序 时间:
2014-05-08 17:58:16
阅读次数:
431
题目链接附上代码: 1 #include 2 #include 3 #include 4 using
namespace std; 5 6 class Solution { 7 public: 8 vector twoSum(vector
&numbers, int target) ...
分类:
其他好文 时间:
2014-05-08 17:50:11
阅读次数:
253
说明: 开机启动使用的命令式chkconfig 、防火墙相关的命令式iptables
1、chkconfig 2、iptables 1、chkconfig 参数: --add 新增所指定的系统服务 --del 删除所指定的系统服务 --level
指定该系统服务要在哪个执行等级中开启或关闭 ...
分类:
其他好文 时间:
2014-05-08 10:16:04
阅读次数:
368
今天用VC下编译libevent的http-server示例,却发现用浏览器怎么也打不开网页,跟踪下来,发现运行到evbuffer_add_file
函数就阻塞了起初怀疑是 libevent的evbuffer_add_file函数实现有Bug,所以自己写了个简单的实现来替换 //evbuffe...
分类:
其他好文 时间:
2014-05-08 08:57:17
阅读次数:
441
Given an array of integers, find two numbers
such that they add up to a specific target number.The function twoSum should
return indices of the two nu...
分类:
其他好文 时间:
2014-05-08 06:33:29
阅读次数:
339