diff options
Diffstat (limited to 'segmenttree.h')
-rw-r--r-- | segmenttree.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/segmenttree.h b/segmenttree.h index ed7efe4..251e139 100644 --- a/segmenttree.h +++ b/segmenttree.h @@ -1 +1,9 @@ -struct SegmentTree; +#include <sqlite3.h> + +extern int * seg; + +void build(sqlite3_stmt *stmt, int l, int r, int n); + +void update(int x, int v, int l, int r, int n); + +void query(int *res, int v, int l, int r, int n);
\ No newline at end of file |