More functionality will be added and runningThis diagram is just an easy chart for people to digest
分类:
其他好文 时间:
2014-07-30 23:34:35
阅读次数:
227
Ford-Fulkson用EK实现:483ms#include #include #define min(x,y) (x>y?y:x)int pre[105],q[105];int F[105][105];int n,nc,np,m,s,t,all;int MaxFlow(int s, int t)...
分类:
其他好文 时间:
2014-07-30 23:34:05
阅读次数:
961
Java虚拟机能够管理的线程数量有限,不加控制的创建新线程可能会导致Java虚拟机崩溃。JVM中可以生成的最大数量由JVM的堆内存大小、Thread的Stack内存大小、系统最大可创建的线程数量(Java线程的实现是基于底层系统的线程机制来实现的,Windows下_beginthreadex,Lin...
分类:
编程语言 时间:
2014-07-30 23:27:05
阅读次数:
403
#define T Stack_T
typedef struct T *T;
struct T {
int count;
struct elem {
void *x;
struct elem *link;
} *head;
}
const T stk //指针常量, const修饰struct T *。地址不能变。
const struct T *stk //指向常量的指...
分类:
其他好文 时间:
2014-07-30 20:56:14
阅读次数:
187
js库引用地址:jquery-1.8.3.min.js效果: 代码: 1 2 3 4 New Document 5 6 7 8 9 10 62 63 64 65 66 67 68 ...
分类:
其他好文 时间:
2014-07-30 20:21:34
阅读次数:
291
js引用:jquery-1.8.3.min.js效果图: 代码: 1 2 3 4 New Document 5 6 7 8 9 10 62 63 64 65 66 67 68 ...
分类:
其他好文 时间:
2014-07-30 20:15:34
阅读次数:
208
使用数据结构stack或者递归
1 使用stack
#include
#include
using namespace std;
typedef struct listNode{
int key;
struct listNode *pNext;
} * pNode,Node;
void createNode(pNode &pHead){
bool isFirst=true;...
分类:
其他好文 时间:
2014-07-30 17:30:34
阅读次数:
189
当android系统运行出现死机等致命错误的时候,一般会有堆栈的DEBUG打印信息,一般直接看根本看不出问题是出在哪里!记录下我android4.2 的DEBUG 堆栈log的方法....
分类:
移动开发 时间:
2014-07-30 14:46:53
阅读次数:
273
# include
# include
# include
# include
using namespace std;
int max(int a,int b)
{
return a>b?a:b;
}
int main()
{
int T,n,t,k,m,i,hh,min,id,num,x;
int last[1010];//最后一次开始炒饭的时间
int cot[1010];/...
分类:
其他好文 时间:
2014-07-30 14:45:53
阅读次数:
164
动态规划题意可以理解为两个人同时从最左点出发,沿着两条不同的路径走到最右点(除了起点和终点每个点走且仅走一次)状态 dp[i][j]指当前两人分别走到i,j点。且设i>j;则有:dp[i+1][i]=min (dp[i+1][i],dp[i][j]+dist[i][i+1]); dp[i+1]...
分类:
其他好文 时间:
2014-07-30 11:28:54
阅读次数:
216