seesaw.cpp: In function 'long double solve(long double)':
seesaw.cpp:14:2: error: 'ld' was not declared in this scope; did you mean 'l'?
14 | ld tl = calc(l, r), tr = calc(l, r);
| ^~
| l
seesaw.cpp:16:14: error: expected initializer before 'tll'
16 | long doube tll = min(tl, calc(l + 1, r)), tlr = max(tr, calc(l + 1, r));
| ^~~
seesaw.cpp:17:7: error: 'tlr' was not declared in this scope
17 | if (tlr <= max_r) l++;
| ^~~
seesaw.cpp:19:3: error: 'tl' was not declared in this scope; did you mean 'l'?
19 | tl = min(tl, calc(l, r));
| ^~
| l
seesaw.cpp:20:3: error: 'tr' was not declared in this scope; did you mean 'r'?
20 | tr = max(tr, calc(l, r));
| ^~
| r
seesaw.cpp:23:9: error: 'tr' was not declared in this scope; did you mean 'r'?
23 | return tr - tl;
| ^~
| r
seesaw.cpp:23:14: error: 'tl' was not declared in this scope; did you mean 'l'?
23 | return tr - tl;
| ^~
| l