2018 Multi-University Training Contest 7 (hdu6395 Sequence)

Input The first line has only one integer T, indicates the number of tasks. Then, for the next T lines, each line consists of 6 integers, A , B, C, D, P, n. 1≤T≤200≤A,B,C,D≤1091≤P,n≤109   Sample Input
相關文章
相關標籤/搜索