04 2016 档案
摘要:#include #include #include #include #include #include using namespace std; const static int M = 50; int numA[M]; int numB[M]; //使用string重置numA void resetNumA(string numAStr) { memset(numA,0,M...
阅读全文
摘要:kuangbin字符串专题传送门--http://acm.hust.edu.cn/vjudge/contest/view.action?cid=70325#overview 算法模板: KMP: const int MAXM=10010; const int MAXN=1000010; int a[MAXN],b[MAXM],Next[MAXM]; int n,m; void getNex...
阅读全文
摘要:题目转自:https://crazyac.wordpress.com/dp%E4%B8%93%E8%BE%91/ 1.hdu 1864 最大报销额 唔,用网上的算法连自己的数据都没过,hdu的数据居然就过了。。垃圾数据。。 比如这个:100.00 3 1 A:1000.00 1 A:200.50 ...
阅读全文

浙公网安备 33010602011771号