build ref failed: exit status 1 # command-line-arguments ./524E.go:51:28: invalid operation: st.tree[l] < res (mismatched types int and float64) ./524E.go:52:22: cannot use st.tree[l] (variable of type int) as float64 value in assignment ./524E.go:57:28: invalid operation: st.tree[r] < res (mismatched types int and float64) ./524E.go:58:22: cannot use st.tree[r] (variable of type int) as float64 value in assignment ./524E.go:65:11: cannot use res (variable of type float64) as int value in return statement