摘要: https://codeforces.com/contest/1348/problem/F 题意: 是否存在唯一的一个 \(1\sim n\) 的排列 \(c[]\) ,满足 \(a_i \leq c_i \leq b_i\) ? 题目保证存在。若排列唯一,输出这个排列;若不唯一,输出两种可能的排列 阅读全文
posted @ 2021-10-20 02:28 Bellala 阅读(56) 评论(0) 推荐(0)