摘要: 知识点整理 1、next_permutation函数 函数作用:求序列s的下一个全排列 头文件:algorithm 用法:next_permutation(s,s+n); 2、nth_element函数 时间复杂度O(n) 函数作用:求数列中第k小的数 头文件:algorithm 用法:nth_el 阅读全文
posted @ 2021-01-25 22:46 Shayndel 阅读(118) 评论(0) 推荐(0)