AOJ (C++ Programming II)—4-B-rotate4-B-rotate
4-B-rotate题目Write a program which reads a sequence of integers A={a0,a1,…,an−1} and rotate specified elements by a list of the following operation: rotate(b,m,e): For each integer k (0≤k<(e−b)), move element b+k to the place of element b+((k+(