0_0_39098161_6651.cpp: In function 'void solve()':
0_0_39098161_6651.cpp:7:12: error: 'l' was not declared in this scope
7 | while (l <= r) {
| ^
0_0_39098161_6651.cpp:7:17: error: 'r' was not declared in this scope
7 | while (l <= r) {
| ^
0_0_39098161_6651.cpp:8:26: error: 'i' has not been declared
8 | auto check = [&](i mid) {
| ^
0_0_39098161_6651.cpp: In lambda function:
0_0_39098161_6651.cpp:11:33: error: 'a' was not declared in this scope
11 | while (i < r && a[r] + a[i] > mid) {
| ^
0_0_39098161_6651.cpp:14:17: error: 'cnt' was not declared in this scope; did you mean 'int'?
14 | cnt += r - i;
| ^~~
| int
0_0_39098161_6651.cpp:16:20: error: 'cnt' was not declared in this scope; did you mean 'int'?
16 | return cnt >= k;
| ^~~
| int
0_0_39098161_6651.cpp:16:27: error: 'k' was not declared in this scope
16 | return cnt >= k;
| ^
|