시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
---|---|---|---|---|---|
1 초 | 256 MB | 43 | 40 | 37 | 92.500% |
There are many acronyms that have the same letters with different meanings. For example, ISS could mean International Space Station, In School Suspension, Interstate Sporadic Squabbles, but it could not be Institutional Saliva Tester (IST, not ISS) nor could it be Intermural Sports Situational Comedies (ISSC not ISS).
Determine whether or not phrases fit the acronym, with the correct number of words and beginning letters. All words will begin with capital letters.
The first line contains the number of data sets (maximum of 10). Each data set contains the acronym and the number of possibilities (maximum of 10) on one line, followed by each possibility on a separate line.
Show the acronym on one line followed by the phrases that match that acronym each on one line.
4 ABC 4 American Broadcasting Company Another Boring Computer Program Alpha Beta Gamma Another Brilliant Csteacher UIL 3 Union Leaders Invitation University Interscholastic League Upstanding Important Leaders CIA 4 Central Intelligence Agency Computer Image Advertising Coming In After Christmas Clubbing Intelligent Aardvarks TBBT 7 The Big Bang Theory The Big Bama Tide Two Boolean Byte TreeMaps Thing Without An Important Name Tuning Big Brass Tubas This Bytes Big Boogies Totally Disk Operating System
ABC American Broadcasting Company Another Brilliant Csteacher UIL University Interscholastic League Upstanding Important Leaders CIA Central Intelligence Agency Computer Image Advertising Clubbing Intelligent Aardvarks TBBT The Big Bang Theory The Big Bama Tide Two Boolean Byte TreeMaps Tuning Big Brass Tubas