- 博客(2)
- 收藏
- 关注
原创 KMP hdu 1711
#includeusing namespace std;#define M 10000#define N 1000000int m , n;int str[N];int cmp[M] , next[M];void InitNext(){ int j , k; next[0] = -1; j = -1; k = 0; while( k {
2011-03-16 12:57:00 714
原创 数论 MillerRabin hdu 3792
#include#includeusing namespace std;int p[10002];int ans[2002];int len;__int64 ModExp( __int64 a , __int64 b , __int64 n ){ __int64 m = 1; while( b ) { if( b & 1 )
2011-03-14 08:53:00 972
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人