AT_abc481_e [ABC481E] Most Brilliant Starry Sky
Description
There are $ N $ stars on the $ xy $ -plane. The $ i $ -th star is represented as the point with coordinates $ (X_i,Y_i) $ .
Draw one line that passes through the origin and does not pass through any star, and choose one of the two regions into which the line divides the plane.
Find the maximum possible number of stars contained in the chosen region.
You are given $ T $ test cases; solve each of them.
Input Format
The input is given from Standard Input in the following format:
> $ T $ $ \mathrm{case}_1 $ $ \mathrm{case}_2 $ $ \vdots $ $ \mathrm{case}_T $
Each test case is given in the following format:
> $ N $ $ X_1 $ $ Y_1 $ $ X_2 $ $ Y_2 $ $ \vdots $ $ X_N $ $ Y_N $
Output Format
Print $ T $ lines. The $ i $ -th line should contain the answer for the $ i $ -th test case.
Explanation/Hint
### Sample Explanation 1
In the $ 1 $ -st test case, if you draw the line $ y=-x $ and choose the region containing the $ 1 $ -st star, that region contains the $ 1 $ -st, $ 2 $ -nd, and $ 3 $ -rd stars. It is impossible to include all $ 4 $ stars, so the answer is $ 3 $ .
In the $ 2 $ -nd test case, if you draw the line $ x=0 $ and choose the region to its right, all stars are contained.
### Constraints
- $ 1 \le T \le 2 \times 10^5 $
- $ 1 \le N \le 2 \times 10^5 $
- The sum of $ N $ over all test cases is at most $ 2 \times 10^5 $ .
- $ -10^9 \le X_i,Y_i \le 10^9 $
- $ (X_i,Y_i) \ne (0,0) $
- $ (X_i,Y_i) \ne (X_j, Y_j) ~ (i \ne j) $
- No two distinct stars are collinear with the origin.
- All input values are integers.