Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop
Title: C Download
 Description: Problem input Inputs include multiple lines: Line 1 shows the total number of participating groups N, the number of participating teams need to query results following N lines, each participating group has given the team name and the final ranking Then there are M lines, each line given query requires participating teams ranked team name or team name needs to query participating groups in the rankings. Where 1 ≤ N <10000,1 ≤ M ≤ 1000000. Problem Output The last M rows corresponding to the input query participating teams ranked team name or team name needs to query participating organizations rankings, output M lines, each participating team is given the appropriate team name to query, rankings, the two separated by a space item content.
 Downloaders recently: [More information of uploader 赵博伟]
 To Search:
File list (Check if you may need any files):
 

C.doc
    

CodeBus www.codebus.net