You are given a sequence of nonnegative integers $$$a_1, a_2, \ldots, a_n$$$. You can perform the following three types of operations any number of times.
Output the minimum number of operations to make all numbers equal to $$$0$$$.
In the first line, $$$T$$$ ($$$1\leq T \leq 10$$$) — the number of test cases.
For each test case:
For each test case, one integer — the answer.
3 5 2 1 2 1 2 8 1000000000 1000000000 0 1000000000 \ 1000000000 0 1000000000 1000000000 (There won’t be extra line breakers \ in the actual test cases.) 13 1 1 4 5 1 4 1 9 1 9 8 1 0
2 3000000000 19
| Name |
|---|


