fast lcm of big numbers

fast lcm of big numbers and answer in mod 10^9 +7
I have an array of numbers that may be big
I need TO FIND LCM OF THOSE AND and answer should be 10^9 +7
can someone help me in algo of this
thanks

1 Like

Haha! Stupid question. See the editorial after the contest ends.

2 Likes

and answer should be 10^9 +7

If you know that the answer should be 10^9+7, what are you asking for? Trolololo :smiley:

6 Likes

Nice try. :smiley:

3 Likes