字符串..死磕
Lemhold
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
蓝桥杯 手链样式 next_permutation
#include #include #include #include #include using namespace std; string reco[30000]; int main(){ int res=0; string str="aaabbbbccccc"; string str2; int i; int lenth=str.length(); int flag=0;原创 2017-04-04 16:09:24 · 709 阅读 · 0 评论 -
分割字符串
#include #include #include #include #include using namespace std; int main(){ char all[30]="aa,bb..d"; const char *a=",."; char *c; char *d; c=strtok(all,a); while(c!=NULL){ d=c; rev原创 2017-04-04 17:47:53 · 339 阅读 · 0 评论
分享