Problem rarwall
User shoryu386
Submission Time 2023-06-06 02:15:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rarwall.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
rarwall.cpp: In constructor ‘node::node(int, int)’:
rarwall.cpp:8:74: error: ‘NULL’ was not declared in this scope
8 | node(int _S, int _E) { s=_S; e=_E; m=(s+e)/2; val=lzaddL=lzaddR=0; l=NULL; r=NULL; }
| ^~~~
rarwall.cpp:1:1: note: ‘NULL’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
+++ |+#include <cstddef>
1 | include <bits/stdc++.h>
rarwall.cpp: In member function ‘void node::createL()’:
rarwall.cpp:13:16: error: ‘NULL’ was not declared in this scope
13 | if(s==e || l!=NULL) return;
| ^~~~
rarwall.cpp:13:16: note: ‘NULL’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
rarwall.cpp: In member function ‘void node::createR()’: