一、概念 建立时间和保持时间都是针对触发器的特性说的。 时序图如下:建立时间(Tsu:set
up time)
是指在触发器的时钟信号上升沿到来以前,数据稳定不变的时间,如果建立时间不够,数据将不能在这个时钟上升沿被稳定的打入触发器,Tsu就是指这个最小的稳定时间。保持时间(Th:hold...
分类:
其他好文 时间:
2014-05-14 04:04:58
阅读次数:
359
You are given annxn2D matrix representing an
image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this
in-place?思路:先将矩阵转置,然后将第一列与最后...
分类:
其他好文 时间:
2014-05-14 03:09:35
阅读次数:
225
原题地址:http://oj.leetcode.com/problems/binary-tree-level-order-traversal-ii/题意:Given
a binary tree, return thebottom-up level ordertraversal of its node...
分类:
编程语言 时间:
2014-05-12 22:03:27
阅读次数:
581
Given amxnmatrix, if an element is 0, set its
entire row and column to 0. Do it in place.click to show follow up.Follow up:Did
you use extra space?A s...
分类:
其他好文 时间:
2014-05-12 08:22:51
阅读次数:
255
前些天写了一篇《令人作呕的OpenSSL》,顿时引来了大量的恶评,令我非常尴尬,同时也觉得悲哀。如果说you can you up之类的,我觉得起码这人看出了我的本意,只是怀疑我的能力,但是我看到一些人竟然在我评价了一段僵尸代码后认定我不懂编译代码,这就悲哀了,这段代码大致如下:#if 0 /*abcdefghijklmn, ( and
ABCDEFGHHHHSASA
...
分类:
其他好文 时间:
2014-05-11 14:08:34
阅读次数:
238
题目:http://poj.org/problem?id=2456
重新练习下二分法,发现还是手速不够
从这道题学到一下几点:
1、线性分几段的方法,看我的Judge()代码;
2、二分的while()最终打印的是down,而不是mid(我代码里写的是ans),或者up,
这么想:跳出循环的时候,假设while里的判断,Judge(ans)==1,那么down是正确解,up不是
Jud...
分类:
其他好文 时间:
2014-05-11 03:39:07
阅读次数:
278
error: RPC failed; result=22, HTTP code = 411fatal:
The remote end hung up unexpectedly解决方法:git config http.postBuffer 524288000
分类:
其他好文 时间:
2014-05-10 01:06:09
阅读次数:
367
题目链接:
http://acm.timus.ru/problem.aspx?space=1&num=1114
1114. Boxes
Time limit: 0.6 second
Memory limit: 64 MB
N boxes are lined up in a sequence (1 ≤ N ≤ 20). You have A red ball...
分类:
其他好文 时间:
2014-05-09 21:58:58
阅读次数:
471
Recentlyifindthewindows8DiskUsagealwayskeepup100%,Itmustbehavesomeissue.Step1.GointoOpenTaskManagerStep2.GotoDetailstabStep3.Rightclickthecolumnsheadersandclick"SelectColumns"Step4.Fromthe"SelectColumns"window,check:I/OReads,I/OWrites,I/Oreadbytes,I/Owriteb..
Path Sum IGiven a binary tree and a sum,
determine if the tree has a root-to-leaf path such that adding up all the values
along the path equals the gi...
分类:
其他好文 时间:
2014-05-09 13:21:59
阅读次数:
320