码迷,mamicode.com
首页 >  
搜索关键字:blue stack    ( 11517个结果
2014年百度之星资格赛第二题Disk Schedule
其实我觉得这题可以用费用流的,可是光建图就超时了。。。不科学啊。。。因为边太多了,不然一定能过的,最后想啊想,还是用dp吧。。。。 居然想到一种一维dp。。。。我也不知道我怎么想的,反正就是ac了 //#pragma comment(linker, "/STACK:102400000,102400000") #include #include #include #include #includ...
分类:其他好文   时间:2014-05-22 13:20:14    阅读次数:286
JavaScript你所不知道的困惑(3)
困惑一:window.color = "red"; var o = {color: "blue"}; function sayColor(){ alert(this.color); } sayColor(); //red sayColor.call(this); //red sayColor.call(window); //red sayColor.call(o); //bl...
分类:编程语言   时间:2014-05-22 12:32:53    阅读次数:255
zoj 3210 A Stack or A Queue? (数据结构水题)
?? A Stack or A Queue? Time Limit: 1 Second      Memory Limit: 32768 KB Do you know stack and queue? They're both important data structures. A stack is a "first in last out" (FILO) data ...
分类:其他好文   时间:2014-05-22 12:24:38    阅读次数:236
2.设计包含 min 函数的栈
Stack with min value.
分类:其他好文   时间:2014-05-22 05:05:42    阅读次数:261
39.递归颠倒栈
Reverse a stack.
分类:其他好文   时间:2014-05-22 01:24:22    阅读次数:275
hdu1022 train problem 栈的应用
#include #include #include using namespace std;int main(){ int n; while(cin >> n) { stack one; string od1,od2; bool stat...
分类:其他好文   时间:2014-05-21 23:48:58    阅读次数:370
集合类说明及区别(转)
Collection├List│├LinkedList│├ArrayList│└Vector│ └Stack└SetMap├Hashtable├HashMap└WeakHashMapCollection接口 Collection是最基本的集合接口,一个Collection代表一组Object,即C....
分类:其他好文   时间:2014-05-21 18:21:04    阅读次数:219
#include #include #include #define STACK_INIT_SIZE 100 #define STACKINCREMENT 10 #define OVERFLOW -1 #define OK 1 #define ERROR 0 typedef int Status; typedef int SElemType; typedef struct {...
分类:其他好文   时间:2014-05-21 16:31:38    阅读次数:215
51系列小型操作系统精髓 简单实现6 C语言版待改进
#include "STC12C5A.H" #define TIMER_RELOAD()  {TL0=0x00;TH0=0xC4;}//使能T/C  初始10ms #define MAX_TASKS 8 //任务槽最大个数. unsigned char idata task_stack[MAX_TASKS][2];//任务堆栈.  PC指针为16位,需2个字节。 unsi...
分类:编程语言   时间:2014-05-21 08:12:12    阅读次数:285
8259DMA interrupt
SSTACK SEGMENT STACK DW 32 DUP(?) SSTACK ENDS CODE SEGMENT ASSUME CS:CODE START: PUSH DS MOV AX, 0000H MOV DS, AX MOV AX, OFFSET MIR7 MOV SI, 003CH ;0FH MOV [SI], AX MOV AX, CS MO...
分类:其他好文   时间:2014-05-21 08:09:28    阅读次数:252
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!