li
That is, given a array a containing n elements a1,...,an, and li
li
li
What's more, li
The first line contains an integer T(1≤T≤3∗104), the number of the test cases.
The first line of each test case is an interger n(1≤n≤105), the length of the array a.
The second line of each test case containing n integers, while the ii-th denoting ai(0≤ai≤1015). It's guaranteed that there always exists at least one pair of x,y(x!=y) such that ax=ay.
It's also guaranteed that Σn≤106.
2
5
10 10 10 10 10
4
1 1 2 1
10
3