Problem | rarwall |
---|---|
User | shoryu386 |
Submission Time | 2023-06-06 02:15:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
rarwall.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
rarwall.cpp: In constructor ‘node::node(long long int, int)’:
rarwall.cpp:8:80: error: ‘NULL’ was not declared in this scope
8 | node(long long _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 ‘voi