_xiaobai_

导航

2011年8月20日

zoj3034 The Bridges of Kolsberg(DP)

摘要: /*经典模型:最长公共子序列+字符串处理 */View Code 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 4 5 #define max( a, b ) ((a)>(b)?(a):(b)) 6 7 char LeftOS[ 1001 ][ 12 ]; 8 char RightOS[ 1001 ][ 12 ]; 9 int LeftID[ 1001 ];10 int LeftV[ 1001 ];11 int RightID[ 1001 ];12 int RightV 阅读全文

posted @ 2011-08-20 09:26 _xiaobai_ 阅读(298) 评论(0) 推荐(0) 编辑