The first line contains an integerrepresenting the number of test cases.
For each test case, the first line contains an integerrepresenting the number of the rockets.
the nextline followed. the
line contains the coordinates of the
rocket
, the loss when it is covered
, and the range of smoke
.
It is guaranteed that there are no more than 1 testcases with
The rocket may land at the same coordinates
all test cases create by randomly
For each test case, printline representing the loss caused by
rocket.