horses.cpp: In constructor 'ST::ST()':
horses.cpp:52:13: error: 'bl' was not declared in this scope; did you mean 'l'?
52 | l = bl; r = br;
| ^~
| l
horses.cpp:52:21: error: 'br' was not declared in this scope; did you mean 'r'?
52 | l = bl; r = br;
| ^~
| r
horses.cpp: In constructor 'ST::ST(int, int, int*, int*)':
horses.cpp:74:32: error: no matching function for call to 'ST::ST(long long int&, long long int&, int*&)'
74 | lt = new ST(l, m, X);
| ^
horses.cpp:58:5: note: candidate: 'ST::ST(int, int, int*, int*)'
58 | ST(int bl, int br, int X[], int Y[]) {
| ^~
horses.cpp:58:5: note: candidate expects 4 arguments, 3 provided
horses.cpp:49:5: note: candidate: 'ST::ST()'
49 | ST() {
| ^~
horses.cpp:49:5: note: candidate expects 0 arguments, 3 provided
horses.cpp:8:8: note: candidate: 'constexpr ST::ST(const ST&)'
8 | struct ST{
| ^~
horses.cpp:8:8: note: candidate expects 1 argument, 3 provided
horses.cpp:8:8: note: candidate: 'constexpr ST::ST(ST&&)'
horses.cpp:8:8: note: candidate expects 1 argument, 3 provided
horses.cpp:75:34: error: no matching function for call to 'ST::ST(long long int, long long int&, int*&)'
75 | rt = new ST(m+1, r, X);
| ^
horses.cpp:58:5: note: candidate: 'ST::ST(int, int, int*, int*)'
58 | ST(int bl, int br, int X[], int Y[]) {
| ^~
horses.cpp:58:5: note: candidate expects 4 arguments, 3 provided
horses.cpp:49:5: note: candidate: 'ST::ST()'
49 | ST() {
| ^~
horses.cpp:49:5: note: candidate expects 0 arguments, 3 provided
horses.cpp:8:8: note: candidate: 'constexpr ST::ST(const ST&)'
8 | struct ST{
| ^~
horses.cpp:8:8: note: candidate expects 1 argument, 3 provided
horses.cpp:8:8: note: candidate: 'constexpr ST::ST(ST&&)'
horses.cpp:8:8: note: candidate expects 1 argument, 3 provided