Skip to content

hashing.cc bug #8

Open
Open
@ianwong1999

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];

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