文件名称:Document-analysis
-
所属分类:
- 标签属性:
- 上传时间:2013-03-16
-
文件大小:4kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
文件分析
给定一个非中文的文本文件以及一系列查询单词,请输出所查询单词的出现次数,
输入:
非中文的文本文件,其格式如下:
第一行为一个非负整数 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
4/Main.class
4/Main.java
4/output.out
4
4/Main.class
4/Main.java
4/output.out
4
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.