一、概念 建立时间和保持时间都是针对触发器的特性说的。 时序图如下:建立时间(Tsu:set
up time)
是指在触发器的时钟信号上升沿到来以前,数据稳定不变的时间,如果建立时间不够,数据将不能在这个时钟上升沿被稳定的打入触发器,Tsu就是指这个最小的稳定时间。保持时间(Th:hold...
分类:
其他好文 时间:
2014-05-14 04:04:58
阅读次数:
359
K-th Number
Time Limit: 20000MS
Memory Limit: 65536K
Total Submissions: 35704
Accepted: 11396
Case Time Limit: 2000MS
Description
You are working for Macrohard com...
分类:
其他好文 时间:
2014-05-13 14:07:41
阅读次数:
203
/*
ID:kevin_s1
PROG:milk
LANG:C++
*/
#include
#include
#include
#include
#include
#define MAXN 5001
using namespace std;
int N,M;
struct farmer{
int Pi;
int Ai;
}farmers[MAXN];
int cmp(farm...
分类:
其他好文 时间:
2014-05-13 11:56:20
阅读次数:
252
response.buffer=false
'为防止程序陷入死循环,初始化一些最大重试值
Dim MaxPassLen,MaxPassAsc
MaxPassLen=20 '密码最大长度
MaxPassAsc=20
'==== 字符转换
Function bytes2BSTR(vIn)
strReturn = ""
For j = 1 To LenB(vIn)
Th...
分类:
其他好文 时间:
2014-05-12 14:47:40
阅读次数:
327
Given a string S and a string T, count the
number of distinct subsequences of T in S.A subsequence of a string is a new
string which is formed from th...
分类:
其他好文 时间:
2014-05-12 09:37:51
阅读次数:
287
POJ 3273 Monthly Expense题解
又是一个二分题。题目的意思是说,在接下来的n天里,Farmer John每天需要花money[i]钱,把这些天分成k份(每份都是连续的天),要求每份的和尽量少,输出这个最小的和。
依旧是二分答案二分答案。。。但是特别奇怪,如果用一个res维护当前可行值就会WA,而且R也得用r = mid 而不是r = mid - 1。。。
这个二分真是难...
分类:
其他好文 时间:
2014-05-12 07:09:04
阅读次数:
287
1 //@author: Zou Xiaohang 2 //@describe: this class
is like AtomicMarkableReference which is in java concurrent package. 3 //
remember th...
分类:
编程语言 时间:
2014-05-12 01:24:20
阅读次数:
504
算法训练 安慰奶牛
时间限制:1.0s 内存限制:256.0MB
锦囊1
使用最小生成树算法。
锦囊2
将每条边(a, b)的权值Lj改变为2Lj+Ca+Cb,然后使用最小生成树来计算。
问题描述
Farmer John变得非常懒,他不想再继续维护供奶牛之间供通行的道路。道路被用来连接N个牧场...
分类:
其他好文 时间:
2014-05-11 18:43:03
阅读次数:
238
Bridge Across Islands
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 8071
Accepted: 2364
Special Judge
Description
Thousands of thousands years ago th...
分类:
其他好文 时间:
2014-05-11 13:01:55
阅读次数:
454
Problem DescriptionMr Wang wants some boys to
help him with a project. Because the project is rather complex,the more boys
come, the better it will be...
分类:
其他好文 时间:
2014-05-10 02:41:33
阅读次数:
291