摘要: 最近有空写了一下LIS的算法实现,开始写得很安全但不通用,后来改成泛型的,通用但不安全。最终的版本可以下面这样用:#include<stdafx.h>#include<iostream>#include"LIS.h"usingnamespacestd;intmain(intargc,char*argv[]){vector<int>v;copy(istream_i... 阅读全文
posted @ 2009-12-04 00:47 rick2009 阅读(264) 评论(0) 推荐(0)