1607: [Usaco2008 Dec]Patting Heads 轻拍牛头Time Limit: 20 SecMemory Limit: 256 MB题目连接http://www.lydsy.com/JudgeOnline/problem.php?id=1607Description 今天是贝茜...
分类:
其他好文 时间:
2015-08-30 17:16:12
阅读次数:
148
[root@CORPSE2010/]# fdisk -l
Disk /dev/sda: 322.1 GB, 322122547200 bytes
255 heads, 63 sectors/track, 39162 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/phys...
分类:
系统相关 时间:
2015-08-20 19:00:53
阅读次数:
261
?Janus the ArchitectDavid Bartlettin THE RoMAn WoRld, Janus was the god of beginnings and endings, doors and passageways. Janus is usually depicted with two heads facing in differ- ent directions, a sy...
分类:
其他好文 时间:
2015-08-20 10:34:49
阅读次数:
101
1. 磁盘的物理结构
盘面:磁盘是由一叠盘面组成
磁头(Heads):每个磁头对应一个盘面,负责该盘面上的数据的读写
磁道(Track):每个盘面会围绕圆心划分出多个同心圆圈,每个圆圈叫做一个磁道
柱面(Cylinders):所有盘片上的同一位置的磁道组成的立体叫做一个柱面
扇区(Sector):以磁道为单位管理磁盘仍然太大,所以计算机前辈们又把每个磁道划分出了多个扇区
磁盘...
分类:
系统相关 时间:
2015-08-18 11:54:52
阅读次数:
213
1:use echo -e example: echo -e "n\np\n1\n\n+100M\nn\np\n2\n\n+1024M\nw\n"|fdisk /dev/vdb \n代表回车 [root@server7 ~]# fdisk -l /dev/vdb Disk /dev/vdb: 8589 MB, 8589934592 bytes 16 heads, 63 sector...
分类:
系统相关 时间:
2015-08-14 13:57:28
阅读次数:
213
一、硬盘及其工作原理
3D参数
很久以前,硬盘的容量还非常小的时候,人们采用与软盘类似的结构生产硬盘。也就是硬盘盘片的每一条磁道都具有相同的扇区数。由此产生了所谓的3D参数(Disk
Geometry),即磁头数(Heads),柱面数(Cylinders),扇区数(Sectors),以及相应的寻址方式。
其中:
磁头数(Heads)表示硬盘总共有几个磁头,也就是有几...
分类:
其他好文 时间:
2015-08-06 22:34:35
阅读次数:
266
题目描述有问题,应该对于是每个纸条上的数,有多少个别的纸条上的数是他的约数。筛法。记录下每个数出现的次数,然后这个数推后面是他倍数的数。。 1 #include 2 #define max(a,b) a>b?a:b 3 const int maxn = 1000005; 4 5 int cnt[.....
分类:
其他好文 时间:
2015-08-06 12:56:52
阅读次数:
845
Two Heads Are Often Better Than OneAdrian WiblePROGRAMMING REQUIRES DEEP THOUGHT, and deep thought requires soli- tude. So goes the programmer stereotype.
This “lone wolf ” approach to programming has...
分类:
其他好文 时间:
2015-07-11 09:07:36
阅读次数:
123
【知识点】linux命令: df fdisk mount/unmount【步骤】1. 查看磁盘信息 fdisk -l[root@host-10-14-40-177 dev]# fdisk -l Disk /dev/vda: 4294 MB, 4294967296 bytes 43 heads,...
分类:
系统相关 时间:
2015-07-06 17:30:10
阅读次数:
186
//本来想做白书上一题 结果发现又要二染色 又要dp的 想了两个小时没想通 然后做了个傻逼题安慰自己解:不多说,就是递归到叶节点,然后回来的时候在解决子树和直接删边的代价中间取个最小值 1 #include 2 #include 3 #include 4 #include 5 #include 6 ...
分类:
其他好文 时间:
2015-06-30 01:21:21
阅读次数:
107