码迷,mamicode.com
首页 >  
搜索关键字:spell    ( 219个结果
POJ 1002 487-3279
Businesses like to have memorable telephone numbers. One way to make a telephone number memorable is to have it spell a memorable word or phrase. For ...
分类:其他好文   时间:2014-12-16 06:26:00    阅读次数:217
随机产生单词然后判别其是否是真正的(可拼写的)单词:)
linux下带的好玩小巧的东东就是多啊!本猫又找到一个spell程序,如果单词是可拼写的则神马也不输出,否则输出错误的单词.可以把若干单词放在文件中,也可以用管道输入.为了简便本猫采用了后一种方法,可能会慢一点啊!稍后会实现前一种方法,看看效率提高了多少.     首先是随机生成单词的方法: def rand_words(n=10000,min_len=2,max_len=12) chars...
分类:其他好文   时间:2014-12-08 15:38:57    阅读次数:262
[PAT]1005. Spell It Right (20)
/************************************************************** 1005. Spell It Right (20) 时间限制 400 ms 内存限制 32000 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Given a non-negative integer N, your task...
分类:其他好文   时间:2014-11-10 13:49:48    阅读次数:138
【宿舍菜鸟们的ACM解题笔记】487-3279
题目来源 北大ACM,题目ID 1002,难度 初级。 题目简介 Description Businesses like to have memorable telephone numbers. One way to make a telephone number memorable is to have it spell a memorable word or phr...
分类:其他好文   时间:2014-11-04 22:46:52    阅读次数:431
solrnet - document
Overview and basic usage Mapping Initialization Create/Update/Delete Querying Faceting Highlighting More like this Spell checking Stats Field collapsi...
分类:Web程序   时间:2014-10-31 22:04:35    阅读次数:214
POJ1035——Spell checker(字符串处理)
Spell checkerDescriptionYou, as a member of a development team for a new spell checking program, are to write a module that will check the correctness...
分类:其他好文   时间:2014-10-29 21:09:25    阅读次数:221
poj 1035 Spell checker
题目链接:http://poj.org/problem?id=1035思路:1、使用哈希表存储字典2、对待查找的word在字典中查找,查找成功输出查找成功信息3、若查找不成功,对word增、删、改处理,然后在字典中查询,若查找成功则记录处理后单词在字典中的次序4、对次序排序再输出注:对word处理后...
分类:其他好文   时间:2014-10-28 00:42:50    阅读次数:202
POJ 1035 代码+详细注释
Spell checker Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 19319 Accepted: 7060 Description You, as a member of a development team for a new spell checking program, are to write a ...
分类:其他好文   时间:2014-10-03 11:38:14    阅读次数:236
[solr] - spell check
solr提供了一个spell check,又叫suggestions,可以用于查询输入的自动完成功能auto-complete。参考文献:https://cwiki.apache.org/confluence/display/solr/Spell+Checkinghttp://www.cnblogs...
分类:其他好文   时间:2014-09-25 22:08:37    阅读次数:304
1005. Spell It Right (20)——PAT (Advanced Level) Practise
题目信息: 1005. Spell It Right (20) 时间限制 400 ms 内存限制 32000 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Given a non-negative integer N, ...
分类:其他好文   时间:2014-09-23 19:20:05    阅读次数:177
219条   上一页 1 ... 17 18 19 20 21 22 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!