Type: Default 1000ms 256MiB

数组6 插入x

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

问题描述

读入 n, 位置p 和 数值x, 接下来读入n个整数。 在第 p 个数后插入 x。(0<=p<=n)

样例输入1

6 0 2
3 1 4 1 5 9

样例输出1

2 3 1 4 1 5 9

初一年级数组3

Not Claimed
Status
Done
Problem
12
Open Since
2022-12-5 0:00
Deadline
2022-12-13 23:59
Extension
24 hour(s)