TouchStone
  Please Login
Login Sign Up
 Homepage  Problem Set  Examinations  Submissions  Discussions  Statistics
  • Home
  • Problem Set
  • P4510
  • Problem
  • P4510A
    Limits : Time Limit : - MS   Memory Limit : - KB
    Judgment Tips : 3S,64M
    Description

    Input Format

    ac

    Output Format

    ac

    Sample Input

    3 2 2 
    1 2 3 
    0 1

    Sample Output

    1 4 8

    Hint