I need a little help!
Can you guys please tell me what’s the issue in this snippet?

The corresponding problem to the solution is:

Any help would be appreciated.

Please guide me if in case I have done any mistake in the forum. It’s my first post here.

Integer Overflow. Use long long in case of count.

1 Like

Thank you so much :star_struck::star_struck: