my code
I have tried many times but test case 1 is not passing
at line no 36
also make hash of the type long long int
i will pass all testcases
i hope this help
if you have more doubts regarding this feel free to ask
if your doubt is resolved mark it as resolved from your doubt section inside your course