Problem | arrayfind |
---|---|
User | JustKitkat |
Submission Time | 2024-06-17 23:57:37 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
arrayfind.cpp: In function ‘int main()’:
arrayfind.cpp:18:26: error: ‘lb’ was not declared in this scope; did you mean ‘ll’?
18 | cout << "Smaller: " << lb(arr, arr+n, x)-arr << ", Greater: " << n-(ub(arr, arr+n, x)-arr) << "\n";
| ^~
| ll
arrayfind.cpp:18:71: error: ‘ub’ was not declared in this scope
18 | cout << "Smaller: " << lb(arr, arr+n, x)-arr << ", Greater: " << n-(ub(arr, arr+n, x)-arr) << "\n";
| ^~