Skip to content

整数反转描述错误 #159

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Howard-Song opened this issue Feb 27, 2019 · 1 comment
Closed

整数反转描述错误 #159

Howard-Song opened this issue Feb 27, 2019 · 1 comment

Comments

@Howard-Song
Copy link

这是整数反转的描述:

假设我们的环境只能存储得下 32 位的有符号整数,则其数值范围为 [−231,  231 − 1]。请根据这个假设,如果反转后整数溢出那么就返回 0。

正确的应为:

假设我们的环境只能存储得下 32 位的有符号整数,则其数值范围为 [−231, 231 − 1]。请根据这个假设,如果反转后整数溢出那么就返回 0。

@jdneo
Copy link
Member

jdneo commented Feb 28, 2019

@JesseHeisenberg Thank you for reporting

This is dup with #74, let's track it there.

@jdneo jdneo closed this as completed Feb 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants