0_0_17394032_30672.cpp:4:1: error: stray '\241' in program
^
0_0_17394032_30672.cpp:4:1: error: stray '\241' in program
0_0_17394032_30672.cpp:4:1: error: stray '\241' in program
0_0_17394032_30672.cpp:4:1: error: stray '\241' in program
0_0_17394032_30672.cpp:6:1: error: stray '\241' in program
^
0_0_17394032_30672.cpp:6:1: error: stray '\241' in program
0_0_17394032_30672.cpp:6:1: error: stray '\241' in program
0_0_17394032_30672.cpp:6:1: error: stray '\241' in program
0_0_17394032_30672.cpp:8:1: error: stray '\241' in program
^
0_0_17394032_30672.cpp:8:1: error: stray '\241' in program
0_0_17394032_30672.cpp:8:1: error: stray '\241' in program
0_0_17394032_30672.cpp:8:1: error: stray '\241' in program
0_0_17394032_30672.cpp:9:1: error: stray '\241' in program
/*BKDRHash*/
^
0_0_17394032_30672.cpp:9:1: error: stray '\241' in program
0_0_17394032_30672.cpp:9:1: error: stray '\241' in program
0_0_17394032_30672.cpp:9:1: error: stray '\241' in program
0_0_17394032_30672.cpp:12:1: error: stray '\241' in program
ULL seed = 131;//31131131313131131313etc..
^
0_0_17394032_30672.cpp:12:1: error: stray '\241' in program
0_0_17394032_30672.cpp:12:1: error: stray '\241' in program
0_0_17394032_30672.cpp:12:1: error: stray '\241' in program
0_0_17394032_30672.cpp:13:1: error: stray '\241' in program
ULL hash = 0;
^
0_0_17394032_30672.cpp:13:1: error: stray '\241' in program
0_0_17394032_30672.cpp:13:1: error: stray '\241' in program
0_0_17394032_30672.cpp:13:1: error: stray '\241' in program
0_0_17394032_30672.cpp:14:1: error: stray '\241' in program
^
0_0_17394032_30672.cpp:14:1: error: stray '\241' in program
0_0_17394032_30672.cpp:14:1: error: stray '\241' in program
0_0_17394032_30672.cpp:14:1: error: stray '\241' in program
0_0_17394032_30672.cpp:15:1: error: stray '\241' in program
for(int i = start; i <= end; i++)
^
0_0_17394032_30672.cpp:15:1: error: stray '\241' in program
0_0_17394032_30672.cpp:15:1: error: stray '\241' in program
0_0_17394032_30672.cpp:15:1: error: stray '\241' in program
0_0_17394032_30672.cpp:16:1: error: stray '\241' in program
hash = hash * seed + t.at(i);
^
0_0_17394032_30672.cpp:16:1: error: stray '\241' in program
0_0_17394032_30672.cpp:16:1: error: stray '\241' in program
0_0_17394032_30672.cpp:16:1: error: stray '\241' in program
0_0_17394032_30672.cpp:17:1: error: stray '\241' in program
^
0_0_17394032_30672.cpp:17:1: error: stray '\241' in program
0_0_17394032_30672.cpp:17:1: error: stray '\241' in program
0_0_17394032_30672.cpp:17:1: error: stray '\241' in program
0_0_17394032_30672.cpp:18:1: error: stray '\241' in program
return hash;
^
0_0_17394032_30672.cpp:18:1: error: stray '\241' in program
0_0_17394032_30672.cpp:18:1: error: stray '\241' in program
0_0_17394032_30672.cpp:18:1: error: stray '\241' in program
0_0_17394032_30672.cpp:20:1: error: stray '\241' in program
^
0_0_17394032_30672.cpp:20:1: error: stray '\241' in program
0_0_17394032_30672.cpp:20:1: error: stray '\241' in program
0_0_17394032_30672.cpp:20:1: error: stray '\241' in program
0_0_17394032_30672.cpp:23:1: error: stray '\241' in program
^
0_0_17394032_30672.cpp:23:1: error: stray '\241' in program
0_0_17394032_30672.cpp:23:1: error: stray '\241' in program
0_0_17394032_30672.cpp:23:1: error: stray '\241' in program
0_0_17394032_30672.cpp:26:1: error: stray '\241' in program
int m, l, count;
^
0_0_17394032_30672.cpp:26:1: error: stray '\241' in program
0_0_17394032_30672.cpp:26:1: error: stray '\241' in program
0_0_17394032_30672.cpp:26:1: error: stray '\241' in program
0_0_17394032_30672.cpp:27:1: error: stray '\241' in program
string s;
^
0_0_17394032_30672.cpp:27:1: error: stray '\241' in program
0_0_17394032_30672.cpp:27:1: error: stray '\241' in program
0_0_17394032_30672.cpp:27:1: error: stray '\241' in program
0_0_17394032_30672.cpp:28:1: error: stray '\241' in program
^
0_0_17394032_30672.cpp:28:1: error: stray '\241' in program
0_0_17394032_30672.cpp:28:1: error: stray '\241' in program
0_0_17394032_30672.cpp:28:1: error: stray '\241' in program
0_0_17394032_30672.cpp:29:1: error: stray '\241' in program
// 输入m和l
^
0_0_17394032_30672.cpp:29:1: error: stray '\241' in program
0_0_17394032_30672.cpp:29:1: error: stray '\241' in program
0_0_17394032_30672.cpp:29:1: error: stray '\241' in program
0_0_17394032_30672.cpp:30:1: error: stray '\241' in program
while (scanf("%d%d", &m, &l) != EOF) {
^
0_0_17394032_30672.cpp:30:1: error: stray '\241' in program
0_0_17394032_30672.cpp:30:1: error: stray '\241' in program
0_0_17394032_30672.cpp:30:1: error: stray '\241' in program
0_0_17394032_30672.cpp:31:1: error: stray '\241' in program
//输入字符串
^
0_0_17394032_30672.cpp:31:1: error: stray '\241' in program
0_0_17394032_30672.cpp:31:1: error: stray '\241' in program
0_0_17394032_30672.cpp:31:1: error: stray '\241' in program
0_0_17394032_30672.cpp:32:1: error: stray '\241' in program
cin >> s;
^
0_0_17394032_30672.cpp:32:1: error: stray '\241' in program
0_0_17394032_30672.cpp:32:1: error: stray '\241' in program
0_0_17394032_30672.cpp:32:1: error: stray '\241' in program
0_0_17394032_30672.cpp:33:1: error: stray '\241' in program
^
0_0_17394032_30672.cpp:33:1: error: stray '\241' in program
0_0_17394032_30672.cpp:33:1: error: stray '\241' in program
0_0_17394032_30672.cpp:33:1: error: stray '\241' in program
0_0_17394032_30672.cpp:34:2: error: stray '\241' in program
// 计算长度为l,各个字串的哈希值
^
0_0_17394032_30672.cpp:34:2: error: stray '\241' in program
0_0_17394032_30672.cpp:34:2: error: stray '\241' in program
0_0_17394032_30672.cpp:34:2: error: stray '\241' in program
0_0_17394032_30672.cpp:35:1: error: stray '\241' in program
int len = (int)s.length();
^
0_0_17394032_30672.cpp:35:1: error: stray '\241' in program
0_0_17394032_30672.cpp:35:1: error: stray '\241' in program
0_0_17394032_30672.cpp:35:1: error: stray '\241' in program
0_0_17394032_30672.cpp:36:2: error: stray '\241' in program
for(int i=0; i<len-l; i++)
^
0_0_17394032_30672.cpp:36:2: error: stray '\241' in program
0_0_17394032_30672.cpp:36:2: error: stray '\241' in program
0_0_17394032_30672.cpp:36:2: error: stray '\241' in program
0_0_17394032_30672.cpp:37:1: error: stray '\241' in program
hashval[i] = BKDRHash(s, i, i+l-1);
^
0_0_17394032_30672.cpp:37:1: error: stray '\241' in program
0_0_17394032_30672.cpp:37:1: error: stray '\241' in program
0_0_17394032_30672.cpp:37:1: error: stray '\241' in program
0_0_17394032_30672.cpp:38:1: error: stray '\241' in program
^
0_0_17394032_30672.cpp:38:1: error: stray '\241' in program
0_0_17394032_30672.cpp:38:1: error: stray '\241' in program
0_0_17394032_30672.cpp:38:1: error: stray '\241' in program
0_0_17394032_30672.cpp:39:2: error: stray '\241' in program
// 对s的各个m*l长度的字串进行处理
^
0_0_17394032_30672.cpp:39:2: error: stray '\241' in program
0_0_17394032_30672.cpp:39:2: error: stray '\241' in program
0_0_17394032_30672.cpp:39:2: error: stray '\241' in program
0_0_17394032_30672.cpp:40:1: error: stray '\241' in program
count = 0;
^
0_0_17394032_30672.cpp:40:1: error: stray '\241' in program
0_0_17394032_30672.cpp:40:1: error: stray '\241' in program
0_0_17394032_30672.cpp:40:1: error: stray '\241' in program
0_0_17394032_30672.cpp:41:2: error: stray '\241' in program
for(int i=0; i<len-m*l; i++) {
^
0_0_17394032_30672.cpp:41:2: error: stray '\241' in program
0_0_17394032_30672.cpp:41:2: error: stray '\241' in program
0_0_17394032_30672.cpp:41:2: error: stray '\241' in program
0_0_17394032_30672.cpp:42:1: error: stray '\241' in program
^
0_0_17394032_30672.cpp:42:1: error: stray '\241' in program
0_0_17394032_30672.cpp:42:1: error: stray '\241' in program
0_0_17394032_30672.cpp:42:1: error: stray '\241' in program
0_0_17394032_30672.cpp:43:1: error: stray '\241' in program
// 对m段长度为l的字串,将其hash值放入集合中
^
0_0_17394032_30672.cpp:43:1: error: stray '\241' in program
0_0_17394032_30672.cpp:43:1: error: stray '\241' in program
0_0_17394032_30672.cpp:43:1: error: stray '\241' in program
0_0_17394032_30672.cpp:44:1: error: stray '\241' in program
hashset.clear();
^
0_0_17394032_30672.cpp:44:1: error: stray '\241' in program
0_0_17394032_30672.cpp:44:1: error: stray '\241' in program
0_0_17394032_30672.cpp:44:1: error: stray '\241' in program
0_0_17394032_30672.cpp:45:2: error: stray '\241' in program
for(int j=0; j<m*l; j+=l)
^
0_0_17394032_30672.cpp:45:2: error: stray '\241' in program
0_0_17394032_30672.cpp:45:2: error: stray '\241' in program
0_0_17394032_30672.cpp:45:2: error: stray '\241' in program
0_0_17394032_30672.cpp:46:1: error: stray '\241' in program
hashset.insert(hashval[i+j]);
^
0_0_17394032_30672.cpp:46:1: error: stray '\241' in program
0_0_17394032_3067
|