球CF D题面

灌水区

求数据范围qwq
by 河城白露 @ 2022-01-17 00:08:05


@[河城白露](/user/27765) The first line contains a single integer $t$ ($1 \le t \le 10^4$) — the number of testcases.The first line of each testcase contains a single integer $n$ ($1 \le n \le 2 \cdot 10^5$) — the number of the registered participants.The second line of each testcase contains $n$ integers $a_1, a_2, \dots, a_n$ ($1 \le a_i \le n$) — the weights of the registered participants.The sum of $n$ over all testcases doesn't exceed $2 \cdot 10^5$.
by Eason_AC @ 2022-01-17 00:09:11


谢谢
by zzzYheng @ 2022-01-17 00:12:10


@[Eason_AC](/user/112917) 谢谢qwq
by 河城白露 @ 2022-01-17 00:17:35


上一页 |