summaryrefslogtreecommitdiff
path: root/datastructures
diff options
context:
space:
mode:
authorNoobie99 <noob999noob999@gmail.com>2024-01-30 19:11:26 +0100
committerNoobie99 <noob999noob999@gmail.com>2024-01-30 19:11:26 +0100
commit6adc67a45b665016b75b2a0958b1aa424daf2d10 (patch)
treeb5bc2d9933c620b9321ce5a008e398a4e49c87cf /datastructures
parent0be1be92793e0a5072c9ebe3450e14d6655d7202 (diff)
use int128 for hash
Diffstat (limited to 'datastructures')
-rw-r--r--datastructures/segmentTree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/datastructures/segmentTree.cpp b/datastructures/segmentTree.cpp
index 5a75d69..79c6cae 100644
--- a/datastructures/segmentTree.cpp
+++ b/datastructures/segmentTree.cpp
@@ -11,7 +11,7 @@ struct SegTree {
tree[i] = comb(tree[2 * i], tree[2 * i + 1]);
}}
- ll comb(T a, T b) { return a + b; } // modify this + neutral
+ ll comb(T a, T b) {return a + b;} // modify this + neutral
void update(int i, T val) {
tree[i += n] = val; // apply update code