131-对数字数组进行右循环
数字数组:1234567右循环3位输出:5671234#include<stdio.h>void Reverse(int* arr, int a, int b)//逆序 { for(; a< b; a++, b--) { int tmp = arr[b]; arr[b] = arr[a]; arr[a] = tmp; }}void RightLoop(int* arr, int n, int k){ k %= n;//如果k大于n,可以减少次数 R