当前你的浏览器版本过低,网站已在兼容模式下运行,兼容模式仅提供最小功能支持,网站样式可能显示不正常。
请尽快升级浏览器以体验网站在线编辑、在线运行等功能。
At an open-source fair held at a major university, leaders of open-source projects put sign-up sheets on the wall, with the project name at the top in capital letters for identification.
Students then signed up for projects using their userids. A userid is a string of lower-case letters and numbers starting with a letter.
The organizer then took all the sheets off the wall and typed in the information.
Your job is to summarize the number of students who have signed up for each project. Some students were overly enthusiastic and put their name down several times for the same project. That's okay, but they should only count once. Students were asked to commit to a single project, so any student who has signed up for more than one project should not count for any project.
There are at most 10,000 students at the university, and at most 100 projects were advertised.
UBQTS TXT tthumb LIVESPACE BLOGJAM philton aeinstein YOUBOOK j97lee sswxyzy j97lee aeinstein SKINUX 1 0
YOUBOOK 2 LIVESPACE BLOGJAM 1 UBQTS TXT 1 SKINUX 0
时间上限 | 内存上限 |
1000 | 65536 |