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
【专题】 考虑每一项对结果到的贡献 #573
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
常见的是给你一个数组,然后给你一个指标, 让你求这个指标的总和。
比如给你一个数组, 给你一个子数组最大值的指标, 让你求所有子数组最大值的总和。
我们可以考虑数组每一项装结果的贡献, 然后将其累加即可。
题目:
The text was updated successfully, but these errors were encountered: