c# 判断3个数是否连续最优式子

Math.Abs((own - two) * (two - there) * 2 + 1) == 3

 

posted @ 2019-01-20 19:44  紅人  阅读(550)  评论(0)    收藏  举报