"used as value" in function call
2023-04-20 本文已影响0人
小王同学123321
使用快速排序出现的错误
# command-line-arguments
./createBigFile.go:124:27: quicksort(low) used as value
./createBigFile.go:124:43: quicksort(hight) used as value
You've forgotten to declare a return value. It should be:
quicksort(arr []int)( []int)