Description: 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.
To Search:
File list (Check if you may need any files):
4\input.in
.\Main.class
.\Main.java
.\output.out
4