markdown 在线制作ppt json校验和格式化工具

POJ 1731

#include<iostream>
#include<string>
#include<algorithm>
using namespace std;

int main()
{
    int NUM;
    string list;
    cin>>list,NUM = list.length(),sort(&list[0],&list[0]+NUM),cout<<list<<endl;
    while(next_permutation(&list[0],&list[0]+NUM))cout<<list<<endl;
}

 

关注我的公众号,当然,如果你对Java, Scala, Python等技术经验,以及编程日记,感兴趣的话。 

技术网站地址: vmfor.com

posted @ 2015-06-10 16:42  GavinHacker  阅读(163)  评论(0编辑  收藏  举报
markdown 在线制作ppt json校验和格式化工具