CodeForces - 605A

每次能够把一辆车放在开头或者结尾ios 问最少多少次操做让这个数列变成递增数列spa 既然要保持最少操做,那就须要让最长的上升序列的数保持不变,让其余数进行改变code #include <iostream> #include <cstdio> using namespace std; const int maxn = 100000 + 10; int a[maxn], b[maxn]; int
相关文章
相关标签/搜索