The LCMs Must be Large
1166E2100· master1s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
2 53 1 2 33 3 4 5
Output
possible
Sample 2of 2
Input
10 101 11 21 31 41 51 61 71 81 91 10
Output
impossible
58%
1166E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)