/
githubmirror
/
LeetCode-Go
Обзор
Документация
Войти
/
githubmirror
/
LeetCode-Go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
template/BIT_test.go
12 строк
236 B
YDZ
Update solution 1649、493
22 апр 2021, 12:07
22 апр 2021, 12:07
d4d5a20
Код
Авторство
О чём код?
package template import ( "fmt" "testing" ) func Test_BIT(t *testing.T) { nums, bit := []int{1, 2, 3, 4, 5, 6, 7, 8}, BinaryIndexedTree{} bit.Init(8) fmt.Printf("nums = %v bit = %v\n", nums, bit.tree) // [0 1 3 3 10 5 11 7 36] }