package main import ( "fmt" ) func main() { solve() } func solve(){ pascal() var Q int fmt.Scan(&Q) var d, x, t uint64 for i:=0; i1000000000000000 || p[i-1][j-1]>1000000000000000{ p[i][j] = p[i-1][j] }else{ p[i][j] = (p[i-1][j-1]+p[i-1][j]) } } //fmt.Println(p[i][j]) } } return }