题号:NC219811
时间限制:C/C++/Rust/Pascal 2秒,其他语言4秒
空间限制:C/C++/Rust/Pascal 512 M,其他语言1024 M
64bit IO Format: %lld
题目描述
You are given an array

of

integers. You have to clearing all elements equal to

in this array.
When there is at least one element equal to

in the array, then you should make
all the positive elements in the array minus one. In other words,
)
.
When the array does not have any element equal to

, please output the array.
输入描述:
The first line contains two integers
,
— the length of
and the number we need to clear.
The second line contains
integers
.
输出描述:
Output the array when the array does not have any element equal to
.
Please do not output extra blank spaces at the end of the output.