Raining a trap problem

Here according to me one line is also added . if after subtracting result get negative
Check this test case
3 0 0 2 0 4 0 6 0 2

I’m sorry, I can’t figure out what line you’re referring to. Also, what are you subtracting the result from? It would be wonderful if you could just drop a reference to which part of the article you’re talking about, or maybe add some code to make your question clearer.
Thank you. :slightly_smiling_face:


I got my answer in your sorry… Thanx bro

1 Like

lol! Really? Awesome! :joy:

1 Like

Yes when you write which part of your code . I GO DEEPER AND I FIND SOLUTION

1 Like