标签:tail .com can tps int www. col div style
#include<stdio.h> int A[110]; int main() { int n, m, temp; scanf("%d%d", &n, &m); m = m % n; for (int i = 0; i < n; i++) { scanf("%d", &A[i]); } for (int i = n - m; i < n; i++) { printf("%d ", A[i]); } for (int i = 0; i < n - m - 1; i++) { printf("%d ", A[i]); } printf("%d", A[n - m - 1]); return 0; }
其他方法参考:
http://www.cnblogs.com/asheng2016/p/7661311.html
https://blog.csdn.net/xtzmm1215/article/details/38407799
标签:tail .com can tps int www. col div style
原文地址:https://www.cnblogs.com/Yaxadu/p/9123737.html