/*
*Corpyright (c)2013,烟台大学计算机学院
*All right reseved.
*作者:张凯
*完成日期:2014年5月28日
*版本号:v1.0
*输入描述:
*问题描述:
*程序输出:
*问题分析:
*算法设计:
*/
#include
#include
using namespace std;
class CSolid
{
...
分类:
其他好文 时间:
2014-06-07 02:01:08
阅读次数:
183
title:
2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder.
What is the smallest positive number that is
evenly divisible by all of the nu...
分类:
其他好文 时间:
2014-06-07 01:27:37
阅读次数:
229
SystemTap是我目前所知的最强大的内核调试工具,有些家伙甚至说它无所不能:)
Debuted in 2005 in Red Hat Enterprise Linux 4 Update 2 as a technology preview.
After four years in development, System 1.0 was released in 2009.
As of 2011 SystemTap runs fully supported in all Linux distributions...
分类:
其他好文 时间:
2014-06-05 12:35:09
阅读次数:
280
【题目】
Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).
For example,
S = "ADOBECODEBANC"
T = "ABC"
Minimum window is "BANC".
Note:
If there is no such window in S that covers ...
分类:
其他好文 时间:
2014-06-05 11:14:26
阅读次数:
255
【题目】
Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).
For example,
S = "ADOBECODEBANC"
T = "ABC"
Minimum window is "BANC".
Note:
If there is no such window in S that covers ...
/*
*Corpyright (c)2013,烟台大学计算机学院
*All right reseved.
*作 者 :曹昕卓 *完成日期:2014年5月28日
*版 本 号:v1.0
*输入描述:
*问题描述:彩票机选
*程序输出:
*问题分析: 还是自己选的放心啊,哈哈!
*算法设计:
*/
#include
#include
#include
using name...
分类:
其他好文 时间:
2014-06-05 06:13:57
阅读次数:
160
这节我们介绍NFS的相关概念,以及如何配置NFS和在客户端中查看NFS。
NFS的配置过程很简单。在服务器端中编辑/etc/exports文件,添加如下内容:
/home/nfs-share 192.168.1.122 *(rw,sync)
第一项是要共享的目录,后者为共享的配置参数一般为:*(rw,sync,no_root_squash,no_all_squas...
分类:
系统相关 时间:
2014-06-05 06:13:16
阅读次数:
459
vi /etc/sysconfig/i18n
LANG="en_US.UTF-8"SUPPORTED="en_US.UTF-8:en_US:en"SYSFONT="latarcyrheb-sun16"source
/etc/sysconfig/i18n以及export LC_ALL=zh_CN.UT...
分类:
其他好文 时间:
2014-05-31 14:02:03
阅读次数:
266
看似简单的一个菜单,确需要不少的知识点1.
getByClassgetElementsByClassName
已经有大部分现代浏览器支持了,只有ie6,ie7,ie8是不支持的。所以对ie6,7,8做特别的处理就行,而ie里边有个内置的属性一直被我们所忽略,document.all,这个比一般的do...
分类:
Web程序 时间:
2014-05-31 08:20:41
阅读次数:
340
DescriptionLet us consider sets of positive
integers less than or equal ton. Note that all elements of a set are different.
Also note that the order o...
分类:
其他好文 时间:
2014-05-31 05:12:49
阅读次数:
246