added overflow check in the double -> long long conversion trick to avoid...
added overflow check in the double -> long long conversion trick to avoid integer overflows. I think this was not needed in practical terms, but it is safer
Showing
想要评论请 注册 或 登录