Equal LCM Subsets
1656H3200· legendary gm10s512 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
43 45 6 72 8 9 104 45 6 7 82 3 4 91 311 2 35 63 4 9 7 82 15 11 14 20 12
Output
NOYES1 262 3YES1 111YES3 23 7 412 14
58%
1656H.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)