一步步写 CMOS 驱动模块
Let's implement a char driver to access the system CMOS.
首先仅仅是创建设备模块,最简单的,类似于前面hello world模块一样的东东,从最简单的框架慢慢搭
/*************************************************...
分类:
其他好文 时间:
2014-08-15 12:54:54
阅读次数:
302
Description
Stable Grid
Consider a grid of size n x n where each cell contains a number. Let's call a grid stable if we canrearrange the numbers of each row so that every col...
分类:
其他好文 时间:
2014-08-15 10:42:58
阅读次数:
190
Description
Problem B - BFS (Binary Fibonacci String)
We are familiar with the Fibonacci sequence (1, 1, 2, 3, 5, 8, ...). What if we define a similar sequence for strings? Sounds interesting? Let...
分类:
其他好文 时间:
2014-08-14 10:45:58
阅读次数:
252
In previous post?Let‘s do our own full blown HTTP server with Netty 4?you and I were excited by creation of our own web server.?So far so good. But how good?? Given ordinary notebook? cat?/pr...
分类:
其他好文 时间:
2014-08-12 19:13:14
阅读次数:
300
点击打开链接
Series 1
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)
Total Submission(s): 921 Accepted Submission(s): 342
Problem Description
Let A...
分类:
其他好文 时间:
2014-08-12 17:07:24
阅读次数:
225
Problem Description
Let's play a card game called Gap.
You have 28 cards labeled with two-digit numbers. The first digit (from 1 to 4) represents the suit of the card, and the second digit (from 1 ...
分类:
其他好文 时间:
2014-08-12 10:24:14
阅读次数:
379
Series 1
大意:
题意不好翻译,英文看懂也不是很麻烦,就不翻译了。
Problem Description
Let A be an integral series {A1, A2, . . . , An}.
The zero-order series of A is A itself.
The first-order series of A i...
分类:
其他好文 时间:
2014-08-12 10:21:42
阅读次数:
241
我们在上一章中介绍了如何使用Swift编写一个HelloWorld小程序,其中就用到了变量。常量和变量是构成表达式的重要组成部分。常量在声明和初始化变量时,在标识符的前面加上关键字let,就可以把该变量指定为一个常量。顾名思义,常量是其值在使用过程中不会发生变化的量,实例代码如下:let_Hello...
分类:
其他好文 时间:
2014-08-11 23:55:13
阅读次数:
405
Parencodings
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 19655
Accepted: 11870
Description
Let S = s1 s2...s2n be a well-formed string of parentheses. ...
分类:
其他好文 时间:
2014-08-11 21:33:53
阅读次数:
285
我们在上一章中介绍了如何使用Swift编写一个HelloWorld小程序,其中就用到了变量。常量和变量是构成表达式的重要组成部分。常量在声明和初始化变量时,在标识符的前面加上关键字let,就可以把该变量指定为一个常量。顾名思义,常量是其值在使用过程中不会发生变化的量,实例代码如下:let_Hello = "Hello"_Hello标识符就是常量,只能在初始化的时候被赋值,如果我们再次给_Hello...
分类:
其他好文 时间:
2014-08-11 21:23:12
阅读次数:
288