next_permutation 函数
next_permutation 函数
next_permutation是全排列函数。
一、基本用法
1 | int a[]; |
二、例题
[P1088 [NOIP2004 普及组] 火星人]([P1088 NOIP2004 普及组] 火星人 - 洛谷 | 计算机科学教育新生态 (luogu.com.cn) )
1 |
|
- Title: next_permutation 函数
- Author: Nannan
- Created at : 2023-07-09 12:30:00
- Updated at : 2024-09-30 21:06:18
- Link: https://redefine.ohevan.com/2023/07/09/next_permutation/
- License: This work is licensed under CC BY-NC-SA 4.0.
Comments