Problem | squarerect |
---|---|
User | avighnakc |
Submission Time | 2024-07-26 17:30:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
squarerect.cpp:4:1: error: ‘ll’ does not name a type
4 | ll BinarySearchMin(ll s, ll e, const std::function<bool(ll)> &f) {
| ^~
squarerect.cpp:18:1: error: ‘ll’ does not name a type
18 | ll BinarySearchMax(ll s, ll e, const std::function<bool(ll)> &f) {
| ^~
squarerect.cpp: In function ‘bool am_i_square(int, int)’:
squarerect.cpp:57:11: error: ‘BinarySearchMin’ was not declared in this scope
57 | int l = BinarySearchMin(1, in.first,
| ^~~~~~~~~~~~~~~
squarerect.cpp:59:11: error: ‘BinarySearchMax’ was not declared in this scope
59 | int r = BinarySearchMax(in.first, N,
| ^~~~~~~~~~~~~~~