LCM problem at ECPC 2018

Revision en2, by Dijkstra., 2018-10-21 20:59:50

The 2018 Egyptian Collegiate Programming Contest was held yesterday this was a problem from it where he asks for

Where n<=10^5 and a[i]<=10^5 answer should be printed %10^9+7

I would appreciate any help in solving this problem and thanks in advance

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Dijkstra. 2018-10-21 20:59:50 33 Tiny change: 'a[i]<=10^5\n\nI woul' -> 'a[i]<=10^5 answer should be printed %10^9+7\n\nI woul'
en1 English Dijkstra. 2018-10-21 20:54:49 335 Initial revision (published)