Description: Enter the instance contains multiple issues. The first line of input contains an integer number of problem instances. Each instance consists of a single line in the form of M N1 N2 N3 ... integer nm M set and N1, ... nm integer. All integers are lying a 32-bit integer range. Each instance of the problem, the output line contains the corresponding LCM. All results will be lying in a range of 32-bit integers.
To Search:
File list (Check if you may need any files):
Debug
.....\Cpp1.exe
.....\Cpp1.ilk
.....\Cpp1.obj
.....\Cpp1.pch
.....\Cpp1.pdb
.....\vc60.idb
.....\vc60.pdb