翻译的【输入格式】中:
对于每个案例,第一行包含两个正整数 n,m(n≤10,m≤109)。第二行包含 n 个整数,a1,0,a2,0,...,an,0(0≤ai,0<231)。
和原题面的输入格式中:
For each case, the first line contains two postive integers n,m(n≤10,m≤109). The second line contains n integers, a1,0,a2,0,...,an,0 (0≤ai,0<231).
(0≤ai,0<231)($0 \le a_i,0 < 2^{31}$)应该是(0≤ai,0<231)($0 \le a_{i,0} < 2^{31}$)。