Tourist Guide
题目描述
[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=13&page=show_problem&problem=1140
[PDF](https://uva.onlinejudge.org/external/101/p10199.pdf)
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10199/0e43b2149fd6f73f9e318e734056afc0931bd857.png)
输入输出格式
输入格式
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10199/5c1046b97506a18d6e9ef7d9d093f92b1b835639.png)
输出格式
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10199/5dfb1f8d8af5a4ebd9a000c3bddddc319687aae5.png)
输入输出样例
输入样例 #1
6
sugarloaf
maracana
copacabana
ipanema
corcovado
lapa
7
ipanema copacabana
copacabana sugarloaf
ipanema sugarloaf
maracana lapa
sugarloaf maracana
corcovado sugarloaf
lapa corcovado
5
guanabarabay
downtown
botanicgarden
colombo
sambodromo
4
guanabarabay sambodromo
downtown sambodromo
sambodromo botanicgarden
colombo sambodromo
0
输出样例 #1
City map #1: 1 camera(s) found
sugarloaf
City map #2: 1 camera(s) found
sambodromo