Description: Given a non-Chinese text files, as well as a series of query words, the output of the query word occurrences, input for non-Chinese text file input.in of the current directory, the format is as follows: the first acts of a non-negative integer T that need to query the number of lines of text, followed by non-Chinese text of the T line, the line of text as the query word. Followed by a number M, the number of query words, followed by M lines a single word for the query word. Output to the file output.txt in the current directory, output in the query text, the number of occurrences of each query word, If it does not, then output 0. The output format: the number of query words
To Search:
File list (Check if you may need any files):
train4.java