This website requires JavaScript.
Explore
Help
Sign In
bibin
/
soi-manim
Watch
1
Star
0
Fork
You've already forked soi-manim
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
a655236529
soi-manim
/
binary-search
/
binary-search.cpp
8 lines
103 B
C++
Raw
Blame
History
while
(
high
-
low
>
1
)
{
int
mid
=
(
low
+
high
)
/
2
;
if
(
check
(
mid
)
)
low
=
mid
;
else
high
=
mid
;
}
Reference in New Issue
View Git Blame
Copy Permalink