WA,Please help

whats wrong with my Solution

getting WA, Problem

This is the AC version of your code. temp should be equal to 0 as soon as a=0 irrespective of count < temp or not.

1 Like

yea,right. My bad. Missed dat part/ Thanks :slight_smile: