https://www.acmicpc.net/problem/9085
import java.util.*
fun main(args: Array<String>) {
val s=Scanner(System.`in`)
var t=s.nextInt()
for(i in 0 until t){
var sum=0
var n=s.nextInt()
for(j in 0 until n){
var a=s.nextInt()
sum+=a
}
println(sum)
}
}