Time limit exceed

my two cases are showing tle

Hi @mayank10

Can you please explain your approach. Also provide the link of the code which is giving tle.

https://ide.codingblocks.com/s/223328 in this i map the prime factor of each number of a given array in a
common hashmap then store the final number in a biginteger and print its modulo