TouchStone
  Please Login
Login Sign Up
 Homepage  Problem Set  Examinations  Submissions  Discussions  Statistics
  • Home
  • Problem Set
  • P3890
  • Problem
  • P3890XOR和路径
    Limits : Time Limit : - MS   Memory Limit : 165536 KB
    Judgment Tips : 1s
    Description

    Input Format

    如题

    Output Format

    如题

    Sample Input 1

    3 3                            
    1 2 4 
    1 3 5 
    2 3 6 

    Sample Output 1

    4.000

    Sample Input 2

    2 2 
    1 1 2 
    1 2 3 

    Sample Output 2

    2.333


    Source  hnoi2011