Added Prefix sum algorithm in c++#43
Open
DeepaliRathi wants to merge 5 commits into
Open
Conversation
I used Prefix sum algorithm in solving a Codeforces problem(248 div2 problem B). Kindly accept my request.It will be of great help.
Owner
khagapati-bagh
left a comment
There was a problem hiding this comment.
Hi @DeepaliRathi
Welcome to hactoberfest2k21. Thank you for your contribution.
Here are some comments for you
- Please follow contribution guidelines and modify accordingly.
- Move your file inside
C++/Algorithmdirectory. - Rename your file as
prefixSum.cpp - Don't forget to format your code.
Edited : changed file name , moved it in c++/Algorithm folder ,formatted code as per instruction. I have added edited Prefix sum algorithm solving a codechef problem(248 div2 problem B) Kindly accept my request ,it would be of great help :)
Added new file in specified folder.
Deleted previous file due wrong file name.
Added edited file after renaming it correctly. I added renamed file of problem of prefix sum algorithm from Codeforces(248 div2 problem B. Kindly accept my request ,it would be of great help :)
Owner
khagapati-bagh
left a comment
There was a problem hiding this comment.
- Please format your code with code formatter which I've mentioned in the contribution guidelines and modify accordingly.
- Add comments which are mentioned in the contribution guidelines at the top
- Add time, space complexity, what is n at the top
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I used Prefix sum algorithm in solving a Codeforces problem(248 div2 problem B).
Kindly accept my request.It will be of great help.