Loading

摘要: Contest Link Codeforces Global Round 21 Problem D Permutation Graph 题意 给定排列 $a=[a_1,a_2,\cdots,a_n]$,$i$ 和 $j$ 有一条无向边当且仅当 $a_i,a_j$ 分别是区间 $[i,j]$ 的最大值 阅读全文
posted @ 2023-02-21 20:57 Meatherm 阅读(34) 评论(0) 推荐(0)