Minimum Possible LCM
1154G2200· master4s1024 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
52 4 8 3 6
Output
1 2
Sample 2of 3
Input
55 2 11 3 7
Output
2 4
Sample 3of 3
Input
62 5 10 1 10 2
Output
1 4
58%
1154G.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)