将所有数排序。因为只能使数变大。
塔子哥有一个长度为 nnn 的数组,现在他想使得这个数组中的数各不相同,一次操作可以选择一个元素 xxx 使得其值加 111 。
本题属于以下题库,请选择所需题库进行购买
By signing up a CodeFun2000 universal account, you can submit code and join discussions in all online judging services provided by us.
Using your CodeFun2000 universal account