Type: Default 1000ms 256MiB

数组4 删除第一个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 和x,

接下来读入n个整数。

删除这n个数中第一个x。

若没有x则不操作。。

样例输入1

6 1
3 1 4 1 5 9

样例输出1

3 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)