4. Set second element to 0
You are not logged in.
Input
Goal output
Your output
  • [4,4]
    [4,0]
    [0,4]
  • [1,2]
    [1,0]
    [0,2]
  • [1,2,3]
    [1,0,3]
    [0,2,3]
  • [7,7,7,7]
    [7,0,7,7]
    [0,7,7,7]
  • [1,2,3,4,5]
    [1,0,3,4,5]
    [0,2,3,4,5]
  • [5,4,3,2,1]
    [5,0,3,2,1]
    [0,4,3,2,1]
  • [3,5,3,5,3,5]
    [3,0,3,5,3,5]
    [0,5,3,5,3,5]
Some tests failed