搜索资源列表
ProgramA
- 括号匹配(二) 时间限制:1000 ms | 内存限制:65535 KB 难度:6 描述 给你一个字符串,里面只包含"(",")","[","]"四种符号,请问你需要至少添加多少个括号才能使这些括号匹配起来。 如: []是匹配的 ([])[]是匹配的 ((]是不匹配的 ([)]是不匹配的 输入 第一行输入一个正整数N,表示测试数据组数(N<=10) 每组测试数据都只有一行,是
match-of-characters
- 用朴素模式匹配算法和快速模式匹配算法实现字符串的模式匹配为题,带有详细的运行说明。-With a simple pattern matching algorithm and fast pattern matching algorithm string pattern matching the title, with a detailed descr iption of the operation.
problem-LastBossOrigin
- 问题:找出一个短字符串在一个长字符串中的精确匹配。 要求:基于BWT压缩和FM索引技术的序列匹配,用Burrows-Wheeler transform算法解决该问题。-Problem: find the exact match of a short string in a long string. Requirements: BWT-based compression and indexing techniques sequence
OauthTest
- Android版新浪、网易、腾讯、搜狐微博OAuth认证实例集,想更多了解OAuth认证的朋友,请下载java源码包,在示例中完整解析了OAuth认证的过程:定义URL编码方式,请求url,得到注册应用后服务商提供的key和secret,生成32个字符长度且每次都不同的随机字符串,设置Oauth协议版本,请求签名等操作。 在用户授权页面,实现: 1.初始化OAuth对象 2.获取用户授权页面并填充至webV
1
- 查找匹配字符串,程序接收用户键入的一个关键字以及一个句子。如果句子中不包含关键字则显示’No match!’;如果句子中包含关键字则显示’Match’-Find matching string, the program receives a keyword and a sentence typed by the user. If the sentence does not contain the keyword displays
textsearch
- VB在打开的文件中搜索文本并着色,字符串搜索,匹配到搜索的文字后,给文字着色。着色的颜色可以由用户自定义,窗体提供了颜色选择功能。本程序多以打开文本类型的文件才精确。-VB in the open file and search for text coloring, string search, text search after the match to give the text coloring. Coloring colors
Chap04
- 数据结构中的字符串模式匹配算法,自己在VC中调试通过,并有优化代码。-Data structure string pattern matching algorithms, in their own VC debugging through, and optimized code.
matches-the-input-string
- 验证括号是否匹配 输入一串字符串,其中有普通的字符与括号组成(包括‘(’、‘)’、‘[’, ] ),要求验证括号是否匹配,如果匹配则输出0、否则输出1.-Verify that matches the input string string brackets, which have common characters with parentheses (including ' (' , ' )' , '
yufafenxi
- 编译原理语法分析。自顶向下分析语法,首先要分析词法是否正确,若错误有错误提示,若没有进行语法分析自顶向下匹配字符串,显示匹配成功,或者失败结果。-Parsing compiler theory. Top-down analysis of grammar, lexical analysis is correct first, if an error has error, if there is no top-down parsing st
BracketMatch
- 很简易的一个括号匹配问题算法源码,进栈和出栈的简单程序,实现包括括弧在内的简单符号,判断输入的字符串是否是匹配的-A very simple question parenthesis matching algorithm source code, into the stack and the stack of simple procedures, simple symbols, including the brackets, inclu
Stack
- 1.使用栈完成一个字符串的逆序输出 2.使用该栈完成表达式的括号是否匹配? 3.对数学表达式求值-1 Using the stack in reverse order to complete a string of output 2. Use the stack to complete the expression in parentheses match? 3. Evaluates mathematical express
KMP
- 利用KMP算法,计算字符串的next函数值来实现正文模式匹配,-use KMP algorithm and calculate the next function value of the string to achieve the body pattern matching
mstr
- 项目使用到一个"字符串模式匹配"算法strmcmp,网上没找到合适的或多有错误,自己写了一个,感觉这个算法挺有意思,传上来和网友分享,并附带测试用例-A program named strmcmp, writed by myself
Trie
- 用Trie树实现的一个对字符串的统计和前缀匹配的功能-Trie tree with a realization of the statistics and prefix string matching functionsTrie tree with a realization of the statistics and prefix string matching functions
DpiCompiler
- 基于jpcap的能够处理pcap报文的系列工具软件,包括读写和匹配特定字符串等。-Jpcap pcap packet can handle a series of tools, including literacy and match a particular string and so on.
BM
- 使用BM算法对字符串进行模式匹配,得出主串和模式串的匹配下标-BM algorithm using a pattern matching string, draw strings and the main index matching string pattern
KMP
- 字符串的模式匹配,使用KMP算法解决优化字符串的模式匹配问题。-String pattern matching, using the KMP algorithm to solve the optimization of the string pattern matching problem.
android-BasicContactables
- 此示例演示了如何使用Contactables表来搜索联系人。发送到Contactables表的查询字符串将匹配联系人姓名和电话号码,查找联系人数据库时减少查询的次数你的应用程序需要使用!-This sample demonstrates how to use the Contactables table to search for contacts. Query strings sent to the Contactables ta
huibian
- 微机原理课程所要做的全部实验代码,包括字符串的匹配,链表的生成以及最重要的电话号码本的是实现-All experimental code Microcomputer Principle course have to do, including a string of matches, the list is generated and telephone number of the most important is to achiev
6-5
- 问题描述 编写一个使用指针返回类型的函数,使用该函数在字符串中搜索一个子串,并返回第一个相匹配的子串指针。该函数的原型如下: 测试 输入为3行。第一行为两个整数,表示字符串和需要查找的子串的长度。第二行为字符串,第三行为子串。 输出见main函数。 样例输入 Enter the length of string and substring 10 5 abcdefghij 样例输出 de