https://ide.codingblocks.com/s/53451
what is the problem in the code;it is giving wrong answer to the second test case.
Rainwater_#harvesting
one more thing,here in test cases n is more than number of integers so how we will fill the array without knowing the number of values we have to fit n it
what is wrong in the eof code
Hi Mudit, you can take input till the end of file like this https://ide.codingblocks.com/s/61389.
Also, the code you’ve shared is not of rain-water harvesting, so if you have any doubts in that problem, you can post a doubt regarding it with its corresponding code. Thanks.
Hi Mudit, as you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.
Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.