题目1099:后缀子串排序
来源:互联网 发布:万达电商 网络总裁 编辑:程序博客网 时间:2024/05/29 10:33
#include <iostream>#include <stdio.h>#include <algorithm>#include <math.h>#include <string>#include <string.h>#include <vector>#include <queue>#include <stack>#include <sstream>#include <climits>#include <cstring>using namespace std;//1099string s;vector<string> v;int main(){ while(cin>>s){ v.clear(); for(int i=0;i<s.size();i++) v.push_back(s.substr(i)); sort(v.begin(),v.end()); for(int i=0;i<v.size();i++) cout<<v[i]<<endl; } return 0;}/************************************************************** Problem: 1099 User: cust123 Language: C++ Result: Accepted Time:10 ms Memory:1524 kb****************************************************************/
0 0
- 题目1099:后缀子串排序
- jobdu 题目1099:后缀子串排序
- 题目1099:后缀子串排序
- 九度OJ 题目1099:后缀子串排序
- 九度题目1099:后缀子串排序
- 【九度】题目1099:后缀子串排序
- 九度OJ—题目1099:后缀子串排序
- <九度 OJ>题目1099:后缀子串排序
- 题目1099:后缀子串排序 C++\Java
- 九度oj 题目1099:后缀子串排序
- 后缀子串排序
- 后缀子串排序
- 后缀子串排序
- 九度 1099:后缀子串排序
- 后缀子串排序(后缀数组)
- 九度OJ 1099:后缀子串排序 (排序)
- 九度OJ 1099 后缀子串排序 JAVA
- 九度OJ 1099 后缀子串排序
- 用 C 语言实现 C++ 的 继承 和 多态
- 数组中的一些常用方法总结
- Hive-1.1.0的注意事项之transform的坑
- java中String,int,Integer,char、double类型转换
- 如何搭建量化投资研究系统?(数据篇之财务数据)
- 题目1099:后缀子串排序
- 新手报道
- linux安装(磁盘分区)
- 其他容器学习笔记
- VOS2009/VOS3000最新手机号段导入文件(2017年最新手机归属地数据)
- 自动安装rhel系统工具--kickstart 使用与介绍
- 使用DBCP连接池
- java学习笔记4.13,List,Set,Map
- C++使用Jsoncpp解析Json数据