摘要:
###A 签到 点击查看代码 #include<bits/stdc++.h> #define ll long long using namespace std; const int N = 2e5 + 10; int n; map<int, char> m; int a[N]; char s[N]; 阅读全文
摘要:
给定输入的序列 a(整数即可,其他无限制条件),next_permutation(a + 1, a + n + 1) 可以求出 a 的关于值的下一个排列,prev_permutation(a + 1, a + n + 1) 可以求出 a 的关于值的上一个排列 #include<bits/stdc++ 阅读全文