![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
哈希
文章平均质量分 78
i-unique
擅长各种姿势划水
展开
-
POJ 1840 Eqs(模拟+哈希)
Consider equations having the following form: a1x1 3+ a2x2 3+ a3x3 3+ a4x4 3+ a5x5 3=0 The coefficients are given integers from the interval [-50,50]. It is consider a solution a system (x1, x2, x3, x4, x5) that verifies the equation, xi∈[-50,50], xi !=原创 2017-07-17 14:02:37 · 647 阅读 · 0 评论 -
ZOJ 3768 Continuous Login(找规律+哈希)
Pierre is recently obsessed with an online game. To encourage users to log in, this game will give users a continuous login reward. The mechanism of continuous login reward is as follows: If you have not logged in on a certain day, the reward of that day i原创 2017-12-24 20:20:14 · 246 阅读 · 0 评论 -
Codeforces 196D Lexicographically Maximum Subsequence(模拟+哈希)
You've got string s, consisting of only lowercase English letters. Find its lexicographically maximum subsequence.We'll call a non-empty string s[p1p2... pk] = sp1sp2... spk(1 ≤ p1 p2 pk ≤ |s|) a su原创 2018-01-04 22:09:22 · 401 阅读 · 0 评论