Problem Description
Teacher Mai finds that many problems about arithmetic function can be reduced to the following problem:
Maintain an array a with index from 1 to l. There are two kinds of ope...
分类:
其他好文 时间:
2014-08-18 16:26:42
阅读次数:
248
MAC和PHY处理OSI七层网络结构的最低两层。
(一)PHY负责电气信号的转换、线路状态、数据硬编码等。PHY在发送数据的时候,收到MAC过来的数据(对PHY来说,没有帧的概念,对它来说,都是数据而不管什么地址,数据还是CRC),每4bit就增加1bit的检错码,然后把并行数据转化为串行流数据,再按照物理层的编码规则(10Based-T的NRZ编码或100based-T的曼彻斯特编码)把数据编...
分类:
其他好文 时间:
2014-08-18 16:26:22
阅读次数:
208
本文主要讲述使用JNA模拟结构体并将结构体数组作为参数传递给对应的方法。...
分类:
其他好文 时间:
2014-08-18 16:25:32
阅读次数:
637
A pair of numbers has a unique LCM but a single number can be the
LCM of more than one possible pairs. Forexample 12 is the
LCM of (1, 12), (2, 12),
(3,4) etc. For a given positive integer N, the ...
分类:
其他好文 时间:
2014-08-18 16:25:24
阅读次数:
240
java Comparator 实现不一样的排序...
分类:
编程语言 时间:
2014-08-18 16:24:42
阅读次数:
321
映射
import scala.collection.mutable
object HelloWorld {
def main(args: Array[String]) {
val scores = Map("Alice" -> 10, "Bob" -> 33) //构造一个不可变的Map[String,Int]
val scores2 = scala.collection....
分类:
其他好文 时间:
2014-08-18 16:24:32
阅读次数:
237
最近处理了一个问题,原因是由于命中ORA-600 [kole_t2u], [34] - description, bugs 导致 在udump 目录下大量转储 出cdmp 文件,
然后这些 cdmp 撑爆本地磁盘空间, 在oracle 发现本地无空间可写一些日志时,又触发ORA-7445 [_memmove()+64]
而触发ORA-600 [kole_t2u], [34] 的 根本原因是因...
分类:
数据库 时间:
2014-08-18 16:24:22
阅读次数:
307
上次介绍用GDI+写了个验证码图片生成器,这次再来介绍下用GDI+写之前流行过一段时间的小游戏:Flappy Bird。通过写这个游戏再来熟悉下GDI+的一些简单利用。
这是一个粗糙的游戏画面,大家不要介意啊,毕竟这是美工做的事:
先来分析一下这个游戏要怎么写。游戏过程是:1、小鸟不停的往下掉,而且越掉越快;2、障碍物柱子不停地出现并往左移动;3、游戏一开始下面的...
分类:
移动开发 时间:
2014-08-18 16:24:12
阅读次数:
335
Idiomatic Phrases Game
Time Limit: 2 Seconds Memory Limit: 65536 KB
Tom is playing a game called Idiomatic Phrases Game. An idiom consists of several Chinese characters and has a certain ...
分类:
其他好文 时间:
2014-08-18 16:22:52
阅读次数:
228