"jack of all trades, master of none the most."
muhehehehhehe
Highlights
- Pro
Pinned Loading
-
-
prefsum.cpp
prefsum.cpp 1vector<int> prefSum(N + 1);
2prefSum[0] = 0;
3for(int i = 0; i < N; ++i) {
4prefSum[i + 1] = prefSum[i] + nums[i];5}
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.


