一:linux系统如何构成的?User space:User Applications and GNU C library (glibc)kernel space:System Call interface, Kernel and Architecture-Dependent Kernel Code ...
分类:
系统相关 时间:
2016-09-19 06:38:36
阅读次数:
298
NYOJ 239:http://acm.nyist.net/JudgeOnline/problem.php?pid=239 ural 1109 :http://acm.timus.ru/problem.aspx?space=1&num=1109 NYOJ 月老的难题,是裸的最大匹配,很烦的是邻接阵超 ...
分类:
编程语言 时间:
2016-09-19 01:17:12
阅读次数:
217
1、复制/etc/rc.d/rc.sysinit文件至/tmp目录,将/tmp/rc.sysinit文件中的以至少一个空白字符开头的行的行首加#;答:
#cp/etc/rc.d/rc.sysinit/tmp
方法一:用sed
#sed-i‘s/\(^[[:space:]]\)/#\1/g‘/tmp/rc.sysinit
方法二:
#vim/tmp/rc.sysinit
1):%s@^\+@#&@g
2):%s@^..
分类:
其他好文 时间:
2016-09-18 21:32:37
阅读次数:
164
Linux more命令同cat命令一样,多用来查看文件内容,本文就为大家介绍下Linux more命令的用法。 更多Linux命令详情请看:Linux命令速查手册 Linux的more命令类似 cat命令 ,不过more命令以一页一页的形式显示,更方便使用者逐页阅读。 按空白键(space)就往下 ...
分类:
系统相关 时间:
2016-09-18 13:30:15
阅读次数:
181
本文转载自:http://blog.csdn.net/yusiguyuan/article/details/39498331 在多任务操作系统中的每一个进程都运行在一个属于它自己的内存沙盘中。这个沙盘就是虚拟地址空间(virtual address space),在32位模式下它总是一个4GB的内存 ...
分类:
系统相关 时间:
2016-09-18 11:53:55
阅读次数:
163
一般在提到Merge Sort时,大家都很自然地想到Divide-and-Conqure, O(n lgn)的时间复杂度以及额外的O(n)空间。O(n)的extra space似乎成了Merge Sort最明显的缺点,但实际上这一点是完全可以克服的,也就是说,我们完全可以实现O(n lgn) tim ...
分类:
编程语言 时间:
2016-09-18 11:44:07
阅读次数:
262
本周作业内容:1、复制/etc/rc.d/rc.sysinit文件至/tmp目录,将/tmp/rc.sysinit文件中的以至少一个空白字符开头的行的行首加#;cp/etc/rc.d/rc.sysinit/tmpsed-i"s/^[[:space:]]\+/#&/"/tmp/rc.sysinit2、复制/boot/grub/grub.conf至/tmp目录中,删除/tmp/grub.conf文件中..
分类:
其他好文 时间:
2016-09-18 10:26:53
阅读次数:
200
Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words. For ...
分类:
其他好文 时间:
2016-09-17 11:56:01
阅读次数:
138
语法verb + subject + predicatecommannds(命令)SQL由命令组成,以分号为结束。命令有token组成,token由white space分隔,包括空格、tab、换行。literals有三种字符串。由单引号'包围。如果字符中要有',用两个连续的'。比如'kenny''... ...
分类:
数据库 时间:
2016-09-17 00:23:23
阅读次数:
183
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word ...
分类:
其他好文 时间:
2016-09-17 00:20:22
阅读次数:
132