happiness.cpp: In member function 'Node* Node::ML()':
happiness.cpp:17:19: error: no matching function for call to 'Node::Node()'
17 | c[0] = new Node;
| ^~~~
happiness.cpp:10:3: note: candidate: 'Node::Node(long long int, long long int)'
10 | Node(lg L, lg R) : l(L), r(R) {
| ^~~~
happiness.cpp:10:3: note: candidate expects 2 arguments, 0 provided
happiness.cpp:6:8: note: candidate: 'constexpr Node::Node(const Node&)'
6 | struct Node {
| ^~~~
happiness.cpp:6:8: note: candidate expects 1 argument, 0 provided
happiness.cpp:6:8: note: candidate: 'constexpr Node::Node(Node&&)'
happiness.cpp:6:8: note: candidate expects 1 argument, 0 provided
happiness.cpp: In member function 'Node* Node::MR()':
happiness.cpp:24:19: error: no matching function for call to 'Node::Node()'
24 | c[1] = new Node;
| ^~~~
happiness.cpp:10:3: note: candidate: 'Node::Node(long long int, long long int)'
10 | Node(lg L, lg R) : l(L), r(R) {
| ^~~~
happiness.cpp:10:3: note: candidate expects 2 arguments, 0 provided
happiness.cpp:6:8: note: candidate: 'constexpr Node::Node(const Node&)'
6 | struct Node {
| ^~~~
happiness.cpp:6:8: note: candidate expects 1 argument, 0 provided
happiness.cpp:6:8: note: candidate: 'constexpr Node::Node(Node&&)'
happiness.cpp:6:8: note: candidate expects 1 argument, 0 provided
happiness.cpp: In function 'bool init(int, long long int, long long int*)':
happiness.cpp:60:16: error: no matching function for call to 'Node::Node()'
60 | seg = new Node;
| ^~~~
happiness.cpp:10:3: note: candidate: 'Node::Node(long long int, long long int)'
10 | Node(lg L, lg R) : l(L), r(R) {
| ^~~~
happiness.cpp:10:3: note: candidate expects 2 arguments, 0 provided
happiness.cpp:6:8: note: candidate: 'constexpr Node::Node(const Node&)'
6 | struct Node {
| ^~~~
happiness.cpp:6:8: note: candidate expects 1 argument, 0 provided
happiness.cpp:6:8: note: candidate: 'constexpr Node::Node(Node&&)'
happiness.cpp:6:8: note: candidate expects 1 argument, 0 provided
grader.cpp: In function 'int main()':
grader.cpp:16:12: warning: unused variable 'max_code' [-Wunused-variable]
16 | long long max_code;
| ^~~~~~~~