Problem | segmenttree |
---|---|
User | Henries |
Submission Time | 2024-12-04 22:47:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
segmenttree.cpp:8:22: error: ‘s’ has not been declared
8 | node(int s,int e);S(s),E(e){
| ^
segmenttree.cpp:8:23: error: ISO C++ forbids declaration of ‘S’ with no type [-fpermissive]
8 | node(int s,int e);S(s),E(e){
| ^
segmenttree.cpp:8:24: error: ‘int node::S(int)’ conflicts with a previous declaration
8 | node(int s,int e);S(s),E(e){
| ^
segmenttree.cpp:7:6: note: previous declaration ‘int node::S’
7 | int S,E,M,val;
| ^
segmenttree.cpp:8:27: error: ‘e’ has not been declared
8 | node(int s,int e);S(s),E(e){
| ^
segmenttree.cpp:8:28: error: ISO C++ forbids declaration of ‘E’ with no type [-fpermissive]
8 | node(int s,int e);S(s),E(e){
| ^
segmenttree.cpp:17:2: error: ‘int node::E(int)’ conflicts with a previous declaration
17 | }