diff --git a/最后一舞/C语言基础进阶合集版编程题.md b/最后一舞/C语言基础进阶合集版编程题.md index 6d721c4..9e13f6f 100644 --- a/最后一舞/C语言基础进阶合集版编程题.md +++ b/最后一舞/C语言基础进阶合集版编程题.md @@ -17,6 +17,39 @@ 输出样例:4 5 1 2 3 ``` +```c +#include + +int main(){ + int a[100] = {0}, b[100] = {0}; + int len1, len2, index; + int i; + + scanf("%d", &len1); + for(i=0;i=index;i--){ + a[i+len2] = a[i]; + } + for(i=0;i