#P5562. Clarke and food

Clarke and food

Problem Description

Clarke is a patient with multiple personality disorder. One day, Clarke turned into a cook, was shopping for food.
Clarke has bought $n$ food. The volume of the $i$th food is $v_i$. Now Clarke has a pack with volume $V$. He wants to carry food as much as possible. Tell him the maxmium number he can brought with this pack.

Input

The first line contains an integer $T(1 \le T \le 10)$, the number of the test cases.
For each test case:
The first line contains two integers $n, V(1 \le n \le 10^5, 1 \le V \le 10^9)$.
The second line contains $n$ integers, the $i$th integer denotes $v_i(1 \le v_i \le 10^9)$.

Output

For each test case, print a line with an integer which denotes the answer.

1 3 5 1 3 4
2 Hint: We can carry 1 and 3, the total volume of them is 5.