B题注意这道题题目要求Sort the given array a using no more than n cyclic shifts of any of its segments. Note that you don't need to minimize the number of cyclic shifts. Any method that requires n or less cyclic shifts will be accepted.只要排序即可,不需要最小化步骤,那就简单了,直接暴力做.从前往后,按顺序,每次排一个数,排的同时输出存储操作步骤,可以用三个数组分别存储操作l,r,d...