不过E题极角排序atan2的用法应该是atan2(A.y, A.x)吧,有些题会卡atan2的精度,好像用叉积去比较更好
点赞 1

相关推荐

牛客网
牛客企业服务