- 博客(1)
- 收藏
- 关注
原创 STL 全排列 pku1833
<br />题目来源:http://poj.org/problem?id=1833<br />这一题主要是STL算法中next_permutation(),求全排列函数的应用:<br />/*** 这一题STL,next_permutation(首地址,末地址)的应用,这个函数的意思是求得下一次排列 */#include <algorithm>#include <iostream>using namespace std;int main(){ //m 是测试案例 //
2011-02-24 20:17:00 242
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人