1050320038 lg AC Rating:~42% 1kciyte 旧日省选 CodeForces Problems AtCoder Problems 紫 蓝 绿 离散化: C++复制void LSH() { sort(c + 1, c + 1 + ns); int nss = unique(c + 1, c + 1 + ns) - c - 1; For (i, 1, n) { a[i] = lower_bound(c + 1, c + 1 + nss, a[i]) - c; } } 2025.9.26 蓝77+紫22+黑1=100