CodeForces - 915C(DFS)

You are given two positive integer numbers a and b. Permute (change order) of the digits of a to construct maximal number not exceeding b. No number in input and/or output can start with the digit 0.g
相關文章
相關標籤/搜索