The code runs fine on my machine but fails to give the right answer in codeforces
The following code gives the correct result on my machine, but doesn't give the right answer on codeforces. 125707404 any help will be be appreciated