Problem | segmenttree |
---|---|
User | justin271828 |
Submission Time | 2024-09-24 16:27:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
segmenttree.cpp:4:13: error: expected unqualified-id before ‘)’ token
4 | struct node() {
| ^
segmenttree.cpp:26:8: error: expected constructor, destructor, or type conversion before ‘;’ token
26 | } *root;
| ^
segmenttree.cpp:27:1: error: ‘root’ does not name a type
27 | root = new node(0, n-1);
| ^~~~