自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

小猪爱拱地

勤奋和毅力是通向成功的阶梯

  • 博客(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

Amazon 五星书。 Classic Reference The latest version of Sedgewick’s best-selling series, reflecting an indispensable body of knowledge developed over the past several decades. Broad Coverage Full treatment of data structures and algorithms for sorting, searching, graph processing, and string processing, including fifty algorithms every programmer should know. See algs4.cs.princeton.edu/code. Completely Revised Code New Java implementations written in an accessible modular programming style, where all of the code is exposed to the reader and ready to use.

2012-04-07

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除