Loading ... Compilation error. Oh! I didn't declare that variable x. corrected
Compile Now.. Loading ... Runtime error. Wtf! ... Oh! The array size is 1000 and I entered 100. corrected
Compile Loading ... Wrong Answer. In sample test case itself?!? Ohhh !! I forgot to update flag value. corrected
Compile Loading ... Sample test cases passed. Cross check with extra cases generated on your own, gives AC.
Taking a deep breath and clicking SUBMIT ... Time Limit Exceeded. Damn!
Few hours later
Taking a deep breath and clicking SUBMIT ... Wrong Answer.
"Debugging is like being the detective in a crime movie where you are also the murdurer" - Filipe Fortes
Pretty much true, isnt it?! This opencode, its not going to be like that. You won't be asked to murder and then, solve the crime. Instead we are helping this opencode. We will do the murder for you and give an oppurtunity for you to become Sherlock Holmes.
And you are rewarded points for that!!
Whoever wishes to participate in this project must follow these guidelines:
- Do not make PR which is not related to any issues. You can create an issue and solve it once we approve them.
- Be polite: Be polite to other community members.
- Communicate: Whether you are working on a new correction or facing a doubt please feel free to ask us on our slack channel(specifically #CodeLines). We will be happy to help you out.
- Each issue should be resolved by either modifying or appending some lines of code.
- Mention the line number along with the Pull Request and further give suitable explanation.
Create a PR as per the format given below:
- On your local machine, go to the project folder.
- Go inside the "tasks" folder and go to the task folder in which you want to solve the issues. (for example "task_2").
- Read and understand the problem statement and the code given in the particular task folder.
- Find the bug.
- Edit, commit and push the changes.
- Create the PR according to the format mentioned in the pull_request_template.md in the .github folder.
It is totally upon the mentors to close the issue, you can't make any pull request after the issue is closed. Once your PR has some mistake and is closed you cant make any further PRs for that particular issue. Only first correct PR for each erronous bug/issue will be considered.
Happy Debugging ! ✌️