Home > Back-end > An array of C programming problem urgent request
An array of C programming problem urgent request
Time:04-14
6. Translation array: an array a known entities n integers, requirements from 0 to the subscript p array element Translation to the end of the array, Requirements: Input: There are two lines, line 1 is two integer n (n 1000) or less and p (p n1) or less, respectively array element number And the subscript p, line 2 is an array of n integers, Output: Only a line, element array after translation. A, separated by Spaces between data, The sample input: 5 2 2 4 July 1 5 The sample output: 1 5 2 4 7