TouchStone
  Please Login
Login Sign Up
 Homepage  Problem Set  Examinations  Submissions  Discussions  Statistics
  • Home
  • Problem Set
  • P3339
  • Problem
  • P3339打比赛
    Limits : Time Limit : 10000 MS   Memory Limit : 65536 KB
    Description
    Input Format

    InputFormat

    Output Format

    OutputFormat

    Sample Input

    样例1:
    3
    1 3 3
    1 1 1
    1 2 3
    样例2:
    7
    3 3 4 1 3 4 4
    4 2 5 1 5 5 4
    5 5 1 3 4 4 4

    Sample Output

    样例1:
    4

    样例2:
    19

    Hint

    样例1:
    Stjepan gets the first, Gustav the second, and Ivan the third task.