uva 10252Common Permutation
来源:互联网 发布:淘宝关键词的热度查询 编辑:程序博客网 时间:2024/04/27 15:57
题意:给定两个字符串a,b,求a,b的最长公共子串,按字典顺序输出.
思路:由于计数的只有小写字母,可以使用int数组将字符串的字符映射到数组上.通过比较两数组是否均含有某一字符,顺序输出。
注意:输入使用gets()函数,(我用scanf()WA)
代码:
- uva-10252-Common Permutation
- UVa 10252 Common Permutation
- uva 10252Common Permutation
- Uva 10252 - Common Permutation
- UVa 10252 - Common Permutation
- UVA--10252 Common Permutation
- Uva OJ 10252 - Common Permutation
- 6 UVA 10252 Common Permutation
- UVa Problem Solution: 10252 - Common Permutation
- PC/UVa 110303/10252 Common Permutation
- uva 10252 - Common Permutation 字符串水题
- Uva 10252 Common Permutation 公共排序
- UVa 10252 Common Permutation (water ver.)
- UVa Problem 10252 Common Permutation (公共排列)
- 字符串 UVa 10252 Common Permutation (公共排列)
- 10252 - Common Permutation
- Common Permutation
- (字符串的处理4.7.14)UVA 10252 Common Permutation(寻找两个字符串中的共同字符&&按字典序输出)
- 怎样做需求分析
- 名人名言
- Linux下动态库的生成及链接方法 ---傻瓜式调用啊
- explicit
- 6个变态的C语言Hello World程序
- uva 10252Common Permutation
- 如何获得div的child
- JavaScript简介
- how make none-bare git repo to bare
- 【Android 对话框(Dialog)大全 建立你自己的对话框】
- 【教你android程序在真机上调试】
- git--远程仓库
- 斐波拉切数列
- android adb命令操作程序