- 博客(4)
- 资源 (1)
- 收藏
- 关注
转载 Linux / Unix: chroot Command Examples
Each process/command on Linux and Unix-like system has current working directory called root directory of a process/command. You can change the root directory of a command using chroot command, whic
2016-07-28 03:28:19 623
原创 Bellman-Ford算法实现
根据算法导论里面的算法实现的。如下:struct vertex{ int weight; int dist; int parent;};#define MAX_SIZE 50struct vertex data[MAX_SIZE][MAX_SIZE];int size;#define MAX_VALUE (1 << 31 -1 )//int short_dist[MAX_
2016-07-27 07:33:12 509
原创 Knapsack 问题(可重复选择)
1. 使用递推公式:v[i][j] = max{ v[i-1][j- k *weight[i] ] + k * value[i] | k >= 0, k * weight[i] 数据输入如下:1 -------> 测试用例的个数3 ----------> 数据的个数2 3 4 ----------> weight60 75 90 ----> value5
2016-07-13 05:05:47 494
转载 Programming SQLite3 in C
This is a C programming tutorial for the SQLite database. It covers the basics of SQLite programming with the C language. You might also want to check the,SQLite tutorial,MySQL C tutorial, orPostg
2016-07-01 11:19:38 11740
Algorithm (4th), by Robert Sedgewick
2012-04-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人