return -1 、0、1 记住if(jud(x)) return -1 也是真,只有0才是假。。。坑

所以我们最好写 Bool
return false
return true

猜你喜欢

转载自blog.csdn.net/qq_24664053/article/details/73441245