TouchStone
  Please Login
Login Sign Up
 Homepage  Problem Set  Examinations  Submissions  Discussions  Statistics
  • Home
  • Problem Set
  • P3106
  • Problem
  • P3106【NOIP2014 Day2 T1】无线网络发射器选址
    Limits : Time Limit : 10000 MS   Memory Limit : 131072 KB
    Description


    Input Format


    Output Format


    Sample Input

    1
    2
    4 4 10
    6 6 20

    Sample Output

    1 30

    Hint



    Source  感谢nodgd放上题目