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
Leetcode题解/双指针2 代码有误 #1219
Comments
同!,得改成long |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
应该把变量i, j, powSum的类型改为long,否则会出现整数溢出,2147483600这个测试用例过不了。
修改后如下:
The text was updated successfully, but these errors were encountered: