SP369 MATH1 - Math I

Description

You are given n integers a $ _{1} $ , a $ _{2} $ ,..., a $ _{n} $ (0

Input Format

The first line of the input file contains an integer t representing the number of test cases (t

Output Format

For each test case output a single value: the minimum value of |x $ _{1} $ |+|x $ _{2} $ |+...+|x $ _{n} $ |