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:
If you have difficulty approaching the issue, feel free to ask on the OpenCode discord channel. We will be happy to help you out! Discord Link
If you are a beginner and want to get started on your competitive programming journey, then you can check out this article by Sumit Kumar Sahu for guidance.
For some more resources and guidance, you can also read these articles written by our respected senior to become good in competitive programming article by Our Senior.
Happy Code Digging ! :)