cf/mirror

MIN = GCD

CF
2084B1100· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
7
2
1 1
2
1 2
3
2 2 3
3
2 3 4
5
4 5 6 9 3
3
998244359987710471 99824435698771045 1000000007
6
1 1 4 5 1 4
Output
Yes
No
Yes
No
Yes
Yes
Yes
2084B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)