Skip to content

Commit

Permalink
define mod for substring hash segment tree
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfalbo committed Oct 17, 2024
1 parent d6383fd commit 51126fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/substring_hash_segment_tree.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#pragma once
#include "common.h"

#define mod (ll)(1e9 + 7)

struct Node {
ll h, p;
Node(char ch) { h = ch; p = 26; }
Expand Down

0 comments on commit 51126fe

Please sign in to comment.