4 lines
100 B
Nim
4 lines
100 B
Nim
import algorithm
|
|
|
|
let s = @[2,3,4,5,6,7,8,9,10,12,14,16,18,20,22,25,27,30]
|
|
echo binarySearch(s, 10)
|