来自:http://www.hovercool.com/en/Class_create,_device_create,_device_create_file开始写Linux设备驱动程序的时候,很多时候都是利用mknod命令手动创建设备节点(包括ldd3中不少例子也是这样),实际上现在Linux内核为...
分类:
其他 时间:
2015-08-19 12:42:14
收藏:
0 评论:
0 赞:
0 阅读:
187
1. 标题设置(让字体变大,和word的标题意思一样)在Markdown当中设置标题,有两种方式:第一种:通过在文字下方添加“=”和“-”,他们分别表示一级标题和二级标题。第二种:在文字开头加上 “#”,通过“#”数量表示几级标题。(一共只有1~6级标题,1级标题字体最大)2. 块注释(blockq...
分类:
其他 时间:
2015-08-19 12:42:03
收藏:
0 评论:
0 赞:
0 阅读:
241
DescriptionGerald got a very curious hexagon for his birthday. The boy found out that all the angles of the hexagon are equal to. Then he measured the...
分类:
其他 时间:
2015-08-19 12:41:53
收藏:
0 评论:
0 赞:
0 阅读:
213
1、先下载安装包最新nodejs自带包管理工具所以只安装nodejs就行 前面两行输入完后 再输入grunt -version(上面有点问题)看下grunt是否安装成功2、进入grunt官网http://gruntjs.com/plugins去找对应的插件, 不同功能有着不同的插件,比如我们要合并....
分类:
其他 时间:
2015-08-19 12:41:33
收藏:
0 评论:
0 赞:
0 阅读:
155
Write a program to find then-th ugly number.Ugly numbers are positive numbers whose prime factors only include2, 3, 5. For example,1, 2, 3, 4, 5, 6, 8...
分类:
其他 时间:
2015-08-19 12:41:14
收藏:
0 评论:
0 赞:
0 阅读:
2885
题意:求树上距离不超过k的点对数解决:很经典的树分治 1 //#include 2 #include 3 #include 4 #include 5 #include 6 7 const int MAXN = 10000+10; 8 9 struct Edge{ 10...
分类:
其他 时间:
2015-08-19 12:41:03
收藏:
0 评论:
0 赞:
0 阅读:
131
参考:http://blog.csdn.net/yang843061497/article/details/38553765 http://blog.csdn.net/jia_zhengshen/article/details/18504837 http://blog.csdn.net/ya...
分类:
其他 时间:
2015-08-19 12:40:43
收藏:
0 评论:
0 赞:
0 阅读:
201
ime Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluDescriptionSometimes some mathematical results are hard to believe. One of the common...
分类:
其他 时间:
2015-08-19 12:40:34
收藏:
0 评论:
0 赞:
0 阅读:
349
题意:拯救行动,天使r有多个朋友a(friends,在这里被坑了几次,没看清题意),天使被关在牢房里,等着朋友来拯救,求拯救天使的最短距离。解法:如果不剪枝,200*200的地图会超时,可以以天使为起点进行dfs,记录到达map[x][y]的最小值、到达每个a的最小值。#include #inclu...
分类:
其他 时间:
2015-08-19 12:40:23
收藏:
0 评论:
0 赞:
0 阅读:
138
准备一些测试数据,如下:use TestCreate table Student(ID int identity(1,1) primary key,[Name] nvarchar(50) not null)Create Table Book(ID int identity(1,1) primar.....
分类:
其他 时间:
2015-08-19 12:40:03
收藏:
0 评论:
0 赞:
0 阅读:
144
或许有朋友会对IE不支持 display:inline-block 属性,表示疑问或者反对。说:“我在 IE 中对 a 或者 span 等内联元素使用 display:inline-block 一直是有效的”。其实不然,在IE中对内联元素使用 display:inline-block,IE 是不识别...
分类:
其他 时间:
2015-08-19 12:39:54
收藏:
0 评论:
0 赞:
0 阅读:
128
http://www.cnblogs.com/yashi88/p/3551947.html最近在做一个项目的时候,需要使用到一个第三方库,这个库的使用向导里面特别说明,在添加完该库后,需要在Xcode的Build Settings下Other Linker Flags里面加入-ObjC标志,这个标志...
分类:
其他 时间:
2015-08-19 12:39:33
收藏:
0 评论:
0 赞:
0 阅读:
115
WormholesDescriptionWhile exploring his many farms, Farmer John has discovered a number of amazing wormholes. A wormhole is very peculiar because it i...
分类:
其他 时间:
2015-08-19 12:39:23
收藏:
0 评论:
0 赞:
0 阅读:
242
一、Promise基本用法很多文章介绍Promise给的例子是这样的:new Promise(function(resolve, reject) { var xhr = new XMLHttpRequest(); xhr.open('POST', location.href, true)...
分类:
其他 时间:
2015-08-19 12:39:13
收藏:
0 评论:
0 赞:
0 阅读:
201
题目描述Description有n个数(n是奇数),其中n-1个数两两成对,有1个数落单,找出这个数。要求O(n)的时间复杂度,O(1)的空间复杂度输入描述Input Description第一行输入一个n, n是大于等于1的奇数第二行包含n个整数输出描述Output Description输出那个...
分类:
其他 时间:
2015-08-19 12:39:03
收藏:
0 评论:
0 赞:
0 阅读:
118
/// /// DataTable序列化 /// /// /// public static string SerializeDataTable(DataTable dt) { Java...
分类:
其他 时间:
2015-08-19 12:38:53
收藏:
0 评论:
0 赞:
0 阅读:
225
1 #include 2 #include 3 4 const int maxv = 1000; 5 const int maxe = 5000; 6 const int maxn = 1000; 7 /* 8 * 邻接矩阵 9 *10 */11 struct adjMetrix {12 ...
分类:
其他 时间:
2015-08-19 12:38:13
收藏:
0 评论:
0 赞:
0 阅读:
379
System.setProperty("sun.rmi.transport.tcp.responseTimeout", "2000"); System.setProperty("sun.rmi.transport.tcp.readTimeout", "2000"); System.setPrope....
分类:
其他 时间:
2015-08-19 12:38:04
收藏:
0 评论:
0 赞:
0 阅读:
880
递推思路:手算推导 arr[1]=3, arr[2]=6, arr[3]=6, arr[4]=18;此时推导arr[n]=?(n>3) 考虑到第n-1位取值有 ①与第一位相同②与第一位不同;容易理解的是 第n-1位与第一位不同(这样的取值方法共有arr[n-1]个) 那么第n位只有一种取值 即除了第...
分类:
其他 时间:
2015-08-19 12:37:43
收藏:
0 评论:
0 赞:
0 阅读:
245
1 /** 2 * 日期时间 3 */ 4 $.fn.topbarTime = function(opt){ 5 this.each(function(){ 6 var $me = $(this); 7 var show = function(){ 8 ...
分类:
其他 时间:
2015-08-19 12:36:53
收藏:
0 评论:
0 赞:
0 阅读:
202