数组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
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则不操作。。
6 1
3 1 4 1 5 9
3 4 1 5 9
By signing up a HFOJ universal account, you can submit code and join discussions in all online judging services provided by us.