![](https://img-blog.csdnimg.cn/20190905201706363.jpg?x-oss-process=image/resize,m_fixed,h_224,w_224)
哈希字符串
Ray.C.L
不开longlong见祖宗
展开
-
AcWing 841字符串哈希
思路:字符串哈希#include <cstdio>#include <cstring>#include <algorithm>#include <set>#include<bits/stdc++.h>using namespace std;typedef long long ll;#define space putcha...原创 2020-04-30 17:37:28 · 243 阅读 · 0 评论 -
Oulipo(哈希)
The French author Georges Perec (1936–1982) once wrote a book, La disparition, without the letter ‘e’. He was a member of the Oulipo group. A quote from the book:Tout avait Pair normal, mais tout s’a...原创 2019-08-12 14:26:35 · 377 阅读 · 0 评论 -
Power Strings(哈希)
Given two strings a and b we define ab to be their concatenation. For example, if a = “abc” and b = “def” then ab = “abcdef”. If we think of concatenation as multiplication, exponentiation by a non-ne...原创 2019-08-12 14:30:59 · 1017 阅读 · 0 评论