ICode9

精准搜索请尝试: 精确搜索
  • # $\texttt{Sol. Luogu P6186}$ [NOI online #1 提高] 冒泡排序2022-06-29 21:02:12

    \(\texttt{Sol. Luogu P6186}\) [NOI online #1 提高] 冒泡排序 太毒瘤啦!!!果然是我太菜(水)了...... 题目描述 给定一个 \(1 ∼ n\) 的排列 \(p_i\),接下来有 \(m\) 次操作,操作共两种: 交换操作:给定 \(x\),将当前排列中的第 \(x\) 个数与第 \(x+1\) 个数交换位置。 询问操作:给定 \(k\),

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有