Problem3448--【Div2】abc413d-Geometric Sequence

3448: 【Div2】abc413d-Geometric Sequence

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

Sample Input Copy

3
5
1 8 2 4 16
5
-16 24 54 81 -36
7
90000 8100 -27000 729 -300000 -2430 1000000

Sample Output Copy

Yes
No
Yes

Source/Category