文件名称:Document-analysis
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 4kb
- 下载次数:
- 0次
- 提 供 者:
- l*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
文件分析
给定一个非中文的文本文件以及一系列查询单词,请输出所查询单词的出现次数,
输入:
非中文的文本文件,其格式如下:
第一行为一个非负整数 T ,表示需查询文本的行数,紧随其后是 T 行非中文文本,为查询单词所在的文本行。其后为一个数字 M ,表示查询单词的个数,随后有 M 行单个单词,为所查询的单词。
输出:
对每一个查询单词,输出其在查询文本中出现的次数,若没有出现,则输出 0 。输出格式为:
查询单词 次数。
-Document analysis
Given a non-Chinese text files as well as a series of query words, the output of the query word occurrences
Input:
Non-Chinese text file, its format is as follows:
The first acts of a non-negative integer T said the number of lines required to query text, followed by the T-line non-Chinese text line of text where the query words. Followed by a number M, said the number of query words, followed by a single word of the M line, for the query words.
Output:
For each query word, and outputs the number of occurrences in the query text, and if it does not appear, then output 0. The output format is:
The number of query words.
给定一个非中文的文本文件以及一系列查询单词,请输出所查询单词的出现次数,
输入:
非中文的文本文件,其格式如下:
第一行为一个非负整数 T ,表示需查询文本的行数,紧随其后是 T 行非中文文本,为查询单词所在的文本行。其后为一个数字 M ,表示查询单词的个数,随后有 M 行单个单词,为所查询的单词。
输出:
对每一个查询单词,输出其在查询文本中出现的次数,若没有出现,则输出 0 。输出格式为:
查询单词 次数。
-Document analysis
Given a non-Chinese text files as well as a series of query words, the output of the query word occurrences
Input:
Non-Chinese text file, its format is as follows:
The first acts of a non-negative integer T said the number of lines required to query text, followed by the T-line non-Chinese text line of text where the query words. Followed by a number M, said the number of query words, followed by a single word of the M line, for the query words.
Output:
For each query word, and outputs the number of occurrences in the query text, and if it does not appear, then output 0. The output format is:
The number of query words.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
4\input.in
.\Main.class
.\Main.java
.\output.out
4