UVALive - 4671 K-neighbor substrings
题解:FFT处理子串相应位置上不同字符的个数。字符串hash处理相同的子串
#include"bits/stdc++.h"
#define debug(x) cout<<#x<<" = "<<x<<" "
using namespace std;
typedef long long LL;
typedef unsigned long
原创
2018-08-13 21:40:00 ·
139 阅读 ·
0 评论