Description: In China, to describe the vocabulary of the loving husband and wife, we used a relatively large number of " husband and wife. Certain aspects of the so-called " husband and wife, two people seem a good fit, looks, body, etc. have a certain similarity. This question another way, the dimension of the person' s name with a letter repeating the number to find the most " couples" . A group of women' s full name is the title given in advance. Enter the name of the man' s alphabet (Pinyin middle spaces, all lowercase letters), according to a pre-given name spelling has to traverse all the names, the name of the lady repeated the number of output letters. Rule 1: If the letter repeated the largest number of ladies many of the same, while matching the first lady as the most " couples" candidate. Rule 2: the same letter in the names, according to repeat the process. For example: li ling li lei-repeat number of characters is 2 instead of 4.
To Search:
File list (Check if you may need any files):
题2\Cpp1.cpp
...\Cpp1.dsp
...\Cpp1.dsw
...\Cpp1.ncb
...\Cpp1.opt
...\Cpp1.plg
...\Debug\Cpp1.exe
...\.....\Cpp1.ilk
...\.....\Cpp1.obj
...\.....\Cpp1.pch
...\.....\Cpp1.pdb
...\.....\vc60.idb
...\.....\vc60.pdb
...\Debug
题2