TouchStone
  Please Login
Login Sign Up
 Homepage  Problem Set  Examinations  Submissions  Discussions  Statistics
  • Home
  • Problem Set
  • P4557
  • Problem
  • P4557【雅礼集训 2017 Day2】线段游戏
    Limits : Time Limit : - MS   Memory Limit : - KB  SPJ
    Judgment Tips : 内存限制:256 MiB 时间限制:1000 ms
    Description

    Input Format

    ac

    Output Format

    ac

    Sample Input

    3 4
    0 -1 4 1
    4 2 7 2
    7 1 8 2
    1 4
    1 3
    0 3 3 6 3
    1 3

    Sample Output

    2
    0.5
    3

    Hint