Problem | wires |
---|---|
User | TheGhostKing |
Submission Time | 2024-02-03 16:40:51 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
wires.cpp: In function ‘void wire(int, int, int*)’:
wires.cpp:26:11: error: ‘min’ was not declared in this scope; did you mean ‘std::min’?
26 | bst = min(bst,mid);
| ^~~
| std::min
In file included from /usr/include/c++/9/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from wires.h:1,
from wires.cpp:1:
/usr/include/c++/9/bits/stl_algo.h:3456:5: note: ‘std::min’ declared here
3456 | min(initializer_list<_Tp> __l, _Compare __comp)
| ^~~