【划分磁盘】#fdisk/dev/sdb n p 1 enter +200M n p 1 enter +512M#mke2fs-text4/dev/sdb1#mke2fs-text4/dev/sdb2----------------------------------------------【安装grub】#mkdir/mnt/boot#mout/dev/sdb1/mnt/boot/#grub-install--root-directory=/mnt/dev/sdb#syn..
分类:
其他好文 时间:
2014-08-01 11:01:02
阅读次数:
233
The dragon 选一只老鼠,然后会跑掉一只the princess选一只老鼠,不会跑出另外的老鼠求the princess赢的概率 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #i...
分类:
其他好文 时间:
2014-07-31 23:38:40
阅读次数:
213
联想ThinkPadT440预装win8用U盘引导改装win70.开机按enter键,然后选择F1进入BIOS1.修改security中secureboot选项中secureboot为Disabled2.修改starup中UEFI/Legacyboot为Both3.修改restart选项中OSOptimizedDefaults为Disabled4.F10选择yes,回车5.电脑重启按enter键,并选择F..
F - Dragon Balls
Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
Five hundred years later, the number of dragon balls will increa...
分类:
其他好文 时间:
2014-07-30 17:44:23
阅读次数:
282
‘\r‘是回车,‘\n‘是换行,前者使光标到行首,后者使光标下移一格。通常用的Enter是两个加起来。下面转一篇文章。? 回车和换行? 今天,我总算搞清楚“回车”(carriage return)和“换行”(line feed)这两个概...
分类:
其他好文 时间:
2014-07-30 10:14:53
阅读次数:
215
shell script 入门
在 shell script 的撰写中还需要用到底下的注意事项:
1. 指令的执行是从上而下、从左而右的分析与执行;
2. 指令的执行就如同第五章内提到的: 指令、选项不参数间的多个空白都会被忽略掉;
3. 空白行也将被忽略掉,而且 [tab] 按键所推开的空白同样规为空格键;
4. 如果读取到一个 Enter 符号 (...
分类:
其他好文 时间:
2014-07-30 03:20:13
阅读次数:
414
题意:给n条直线,将一个平面分成很多个部分,再给m个骑士的坐标,在一个部分内只要有一个骑士即可保护该部分,问给出的m个骑士是不是保护了所有部分。解法:计算每个骑士与每条直线的位置关系(上面还是下面),用0,1表示,所以每个骑士会有一个01串,最后统计出这n条直线分成的部分数(可能有平行的),然后排序...
分类:
其他好文 时间:
2014-07-30 00:30:42
阅读次数:
316
//jquery$("#input_title").keydown(function(e){ e = e||window.event;// Firefox window.event if((e.keyCode || e.which) == 13){ return false; } ...
分类:
编程语言 时间:
2014-07-29 20:38:32
阅读次数:
273
选中项目按下Alt+Enter键 可以选中JRE点击Remove移除 点击Add Library 选择JRE System Library点击下一布,选择对应的JRE版本即可
分类:
系统相关 时间:
2014-07-29 16:07:19
阅读次数:
291
Introduction This tutorial centers around various ways to prompt for user input with a default option available upon the user pressing Enter. By http:...
分类:
其他好文 时间:
2014-07-29 14:15:28
阅读次数:
266