10. Multiply all elements by two
You are not logged in.
Input
Goal output
Your output
  • []
    []
    []
  • [0]
    [0]
    [0]
  • [1]
    [2]
    [1]
  • [-1]
    [-2]
    [-1]
  • [1,2,3]
    [2,4,6]
    [1,2,3]
  • [-3,0,7]
    [-6,0,14]
    [-3,0,7]
  • [4,4]
    [8,8]
    [4,4]
  • [1,2,3,4,5]
    [2,4,6,8,10]
    [1,2,3,4,5]
  • [5,4,3,2,1]
    [10,8,6,4,2]
    [5,4,3,2,1]
  • [0,0,1,1,2,2]
    [0,0,2,2,4,4]
    [0,0,1,1,2,2]
  • [2,4,6,4,2]
    [4,8,12,8,4]
    [2,4,6,4,2]
Some tests failed