Binary Search
1945E1700· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
56 31 2 3 4 5 66 53 1 6 5 2 45 13 5 4 2 16 34 3 1 5 2 63 23 2 1
Output
013 422 41 524 52 411 3
58%
1945E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)