一、邮箱控制块:在include/rtdef.h中#ifdef RT_USING_MAILBOX/** * mailbox structure */struct rt_mailbox{ struct rt_ipc_object parent; /*...
分类:
其他好文 时间:
2015-03-05 19:03:54
阅读次数:
1068
ProblemDesign and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.get(key)- Ge...
分类:
编程语言 时间:
2015-03-05 18:33:09
阅读次数:
252
一、信号量控制块:在include/rtdef.h中#ifdef RT_USING_SEMAPHORE/** * Semaphore structure */struct rt_semaphore{ struct rt_ipc_object parent; ...
分类:
其他好文 时间:
2015-03-04 18:53:48
阅读次数:
316
一、互斥量控制块:在include/rtdef.h中#ifdef RT_USING_MUTEX/** * Mutual exclusion (mutex) structure */struct rt_mutex{ struct rt_ipc_object parent; ...
分类:
其他好文 时间:
2015-03-04 18:35:59
阅读次数:
187
A linked list consists of a series of structures, which are not necessarily adjacent in memory. We assume that each structure contains an integer key ...
分类:
其他好文 时间:
2015-03-04 06:12:50
阅读次数:
170
Option Explicit OnOption Strict OnImports System.ReflectionImports System.DiagnosticsPublic Structure ErrInfo Public Number As Integer Public De...
分类:
Web程序 时间:
2015-03-01 22:17:09
阅读次数:
276
原理讲解:http://dongxicheng.org/structure/lca-rmq/
在线算法模板:
/**
LCA在线算法O(nlogn)
主函数调用:
init();
tot=0,dir[1]=0;
dfs(1,1);
ST(2*n-1);
int lca=LCA(u,v);
*/
#include
#include
#include
#include
#inclu...
分类:
编程语言 时间:
2015-03-01 18:33:50
阅读次数:
168
MM模块1、 BAPI_MATERIAL_SAVEDATA 创建物料主数据注意参数EXTENSIONIN的使用,可以创建自定义字段例如WA_BAPI_TE_MARA-MATERIAL = ITAB_UP-MATNR.T_EXTENSIONIN-STRUCTURE = 'BAPI_TE_MARA'.T...
几本神书:
MIT Introduction to algorithm
http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-006-introduction-to-algorithms-fall-2011/index.htm
MIT Design and Anal...
分类:
其他好文 时间:
2015-02-28 16:35:57
阅读次数:
161
题目链接:http://poj.org/problem?id=1330A rooted tree is a well-known data structure in computer science and engineering. An example is shown below:In the ...
分类:
其他好文 时间:
2015-02-28 14:20:50
阅读次数:
104