You are given the sequence a_{2},a_{3},...,a_{n}a
2
,a
3
,...,a
n
. Suppose for each ii (1<=i<=n-1)(1<=i<=n−1) we run the program on the sequence i,a_{2},a_{3},...,a_{n}i,a
2
,a
3
,...,a
n
. For each such run output the final value of yy if the program terminates or -1 if it does not terminate
这一段没有翻译。。。
机翻原话:
给定序列a_{2},a_{3},。。。,a_{n}a2,a 3,...,一个n. 假设对于每个ii(1<=i<=n-1)(1<=i<=n−1),我们在序列i,a_{2},a_{3},…上运行程序,。。。,a_{n}i,a2,a 3,...,一个n. 对于每个这样的运行,如果程序终止,输出yy的最终值;如果程序未终止,输出-1
序列的a1会随着i的增加而改变(就是让i=a1)
似乎已经有人指出了...