Please help i am getting wrong answer

hello @kailash_01
declare ur map inside while loop

why ?? i declare it inside main function it shuld same .inside while is also inside main .

we want new map for each test case thats why we are putting it inside while loop.