Skip to content

Commit 4c3f103

Browse files
committed
reorg
1 parent 4069f95 commit 4c3f103

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

library/data_structures_[l,r)/seg_tree.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ template<class T, class F> struct tree {
1515
vector<T> s;
1616
tree(int n, T unit, F op):
1717
n(n), unit(unit), op(op), s(2 * n, unit) {}
18+
#include "seg_tree_uncommon/init.hpp"
1819
void update(int i, T val) {
1920
for (s[i += n] = val; i /= 2;)
2021
s[i] = op(s[2 * i], s[2 * i + 1]);

library/data_structures_[l,r]/seg_tree_uncommon/init.hpp renamed to library/data_structures_[l,r)/seg_tree_uncommon/init.hpp

File renamed without changes.

library/data_structures_[l,r]/seg_tree.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ template<class T, class F> struct tree {
2020
vector<T> s;
2121
tree(int n, T unit, F op):
2222
n(n), op(op), s(2 * n, unit) {}
23-
#include "seg_tree_uncommon/init.hpp"
23+
#include "../data_structures_[l,r)/seg_tree_uncommon/init.hpp"
2424
void update(int i, T val) {
2525
for (s[i += n] = val; i /= 2;)
2626
s[i] = op(s[2 * i], s[2 * i + 1]);

0 commit comments

Comments
 (0)