Score | |
---|---|
Problem A | 462 |
Problem B | 693 |
Problem C | 1155 |
Problem D | 1386 |
Problem E | 1848 |
Problem F1 | 1386 |
Problem F2 | 924 |
Successful hack | 100 |
Unsuccessful hack | -50 |
Unsuccessful submission | -50 |
Resubmission | -50 |
Consider the array
Given
The first line of the input contains a single integer
The input for each test case consists of a single line containing
For each test case, print "YES" if it is possible to have the GCD of the corresponding array greater than
9 1 1 0 3 5 1 13 13 0 4 4 0 3 7 4 4 10 3 2 4 0 1 7 3 1 5 3
NO NO YES YES YES YES NO NO YES
For the first test case,
For the second test case the array is
For the third test case,
For the fourth test case,
Name | |||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
No items |