哈希
文章平均质量分 54
__Rain
这个作者很懒,什么都没留下…
展开
-
哈希 专题
进制转换法sum[i]=( sum[i-1]*p+str[i] )%mod (i>=1);wa了就改一下p或者mod原创 2021-03-31 21:19:34 · 258 阅读 · 0 评论 -
hdu 7064 哈希,字典树
Singing Superstar哈希解法字典树解法原创 2021-08-13 10:45:15 · 230 阅读 · 0 评论 -
hdu-1496 解方程
hdu 1496哈希解法:二分解方程#include<bits/stdc++.h>using namespace std;const int N = 1e5 + 9;int x[N], y[N];int a, b, c, d;int main(){ while(~scanf("%d %d %d %d", &a, &b, &c, &d)) { if(a>0&&b>0&&c>0&&am原创 2021-04-22 18:15:57 · 183 阅读 · 0 评论