字符串
AC宋哥
你好C++
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
洛谷P1012拼数题解
洛谷P1012拼数 C++的STL模板库中的sort函数在字符串排序问题中的妙用cmp也可医用lamada格式C++11的版本支持 #include<bits/stdc++.h> using namespace std; vector<string>data; bool cmp(string a,string b){ return a+b>b+a;...原创 2018-06-16 01:07:59 · 622 阅读 · 0 评论 -
POJ 1256
POJ1526 1.[题目描述]http://poj.org/problem?id=1256() 2.代码: #include&lt;iostream&gt; //poj 1256 Anagram #include&lt;string&gt; #include&lt;algorithm&gt; using namespace std; int cmp(char a,char b) {原创 2018-10-14 21:59:46 · 905 阅读 · 1 评论
分享