#include#include #define MAXSIZE 1000void Reserve(int a[], int front, int rear);void LeftMoved(int a[], int p, int n);int main(){ int seq[MAXSIZE]; memset(seq, 0, sizeof(seq)); int n; scanf("%d", &n); int p; scanf("%d", &p); int i; for(i=0; i
本文共 332 字,大约阅读时间需要 1 分钟。
#include#include #define MAXSIZE 1000void Reserve(int a[], int front, int rear);void LeftMoved(int a[], int p, int n);int main(){ int seq[MAXSIZE]; memset(seq, 0, sizeof(seq)); int n; scanf("%d", &n); int p; scanf("%d", &p); int i; for(i=0; i
转载于:https://www.cnblogs.com/ozxics/p/10911993.html