Help me out in this problem

my code is not passing all the test case

@abha are u there buddy ?

yeah let me go through your code

@aa1 ok sure have a look

Take long long for sum and map instead of int and it will work fine.

If this resolves your query then please mark it as resolved :slight_smile: