Skip to content

hashing.cc bug #8

Description

@ianwong1999

Line 10 and line 13 have some typo.

Line 10 should be pw[i] = seed * pw[i - 1];
and
Line 13 should be hs[i] = seed * hs[i - 1] + s[i];

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions