We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
当amount为0时,期望返回结果为0,当前代码返回为-1。 在程序开始应该加入判断 if (amount == 0) { return 0; }
if (amount == 0) { return 0; }
The text was updated successfully, but these errors were encountered:
@hannatao 已修复,谢谢指正
Sorry, something went wrong.
No branches or pull requests
当amount为0时,期望返回结果为0,当前代码返回为-1。
在程序开始应该加入判断
if (amount == 0) { return 0; }
The text was updated successfully, but these errors were encountered: