Problem | nis |
---|---|
User | Hijackedsoul |
Submission Time | 2024-01-07 19:06:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
nis.cpp:27:9: error: expected unqualified-id before ‘else’
27 | else { // go down to find the leaf
| ^~~~
nis.cpp:34:6: error: expected ‘;’ after struct definition
34 | }
| ^
| ;
nis.cpp: In function ‘long long int sum(long long int, long long int)’:
nis.cpp:37:12: error: ‘s’ was not declared in this scope
37 | if(s==S&&e==E)return val;
| ^
nis.cpp:37:18: error: ‘e’ was not declared in this scope
37 | if(s==S&&e==E)return val;
| ^
nis.cpp:37:30: error: ‘val’ was not declared in this scope
37 | if(s==S&&e==E)return val;
| ^~~
nis.cpp:38:15: error: ‘m’ was not declared in this scope
38 | if(E<=m)return l->sum(S,E);
| ^
nis.cpp:38:24: error: ‘l’ was not declared in this scope
38 | if(E<=m)return l->sum(S,E);