文件名称:贪心1002
介绍说明--下载内容均来自于网络,请自行研究使用
The input consists of T test cases. The number of test cases ) (T is given in the first line of the input. Each test case begins with a line containing an integer N , 1<=N<=200 , that represents the number of tables to move. Each of the following N lines contains two positive integers s and t, representing that a table is to move from room number s to room number t (each room number appears at most once in the N lines). From the N+3-rd line, the remaining test cases are listed in the same manner as above.(The output should contain the minimum time in minutes to complete the moving, one per line.)
相关搜索: ACM
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
贪心1002.cpp | 615 | 2018-03-31 |
题目.txt | 1953 | 2018-04-26 |