input
stringlengths
41
91
output_masked
stringlengths
39
81
output
stringlengths
41
100
io_out
sequence
io_inp
sequence
input : list = [-3, -3, 5, -2, 2] output : list = [-3, -3]
generated_output : list = reverse(take(reverse(reverse(sort_asc(input))),2))
generated_output : list = reverse(take(reverse(reverse(sort_asc([-3, -3, 5, -2, 2]))),2))
[ -3, -3 ]
[ -3, -3, 5, -2, 2 ]
input : list = [2, 0, 2, 1] output : list = [0, -1]
generated_output : list = add_n(reverse(sort_asc(add_n(drop(input,2),3))),-5)
generated_output : list = add_n(reverse(sort_asc(add_n(drop([2, 0, 2, 1],2),3))),-5)
[ 0, -1 ]
[ 2, 0, 2, 1 ]
input : list = [-1, -4] output : list = [0, 12]
generated_output : list = mul_n(add_n(add_n(add_n(sort_des(input),2),-3),2),-4)
generated_output : list = mul_n(add_n(add_n(add_n(sort_des([-1, -4]),2),-3),2),-4)
[ 0, 12 ]
[ -1, -4 ]
input : list = [2, 2] output : list = [1, 1]
generated_output : list = sub_n(mul_n(mul_n(sort_asc(add_n(input,-1)),-3),-1),2)
generated_output : list = sub_n(mul_n(mul_n(sort_asc(add_n([2, 2],-1)),-3),-1),2)
[ 1, 1 ]
[ 2, 2 ]
input : list = [0, 4, 2, -5] output : list = [3, 1, -1, -6]
generated_output : list = sort_des(sort_asc(sort_des(sub_n(add_n(input,2),3))))
generated_output : list = sort_des(sort_asc(sort_des(sub_n(add_n([0, 4, 2, -5],2),3))))
[ 3, 1, -1, -6 ]
[ 0, 4, 2, -5 ]
input : list = [4, 2, 5] output : list = [5]
generated_output : list = sort_asc(reverse(take(sort_des(sort_des(input)),1)))
generated_output : list = sort_asc(reverse(take(sort_des(sort_des([4, 2, 5])),1)))
[ 5 ]
[ 4, 2, 5 ]
input : list = [-2, -3, -1, -2] output : list = [6, 9, 9, 12]
generated_output : list = sort_asc(mul_n(sub_n(sort_des(sort_des(input)),1),-3))
generated_output : list = sort_asc(mul_n(sub_n(sort_des(sort_des([-2, -3, -1, -2])),1),-3))
[ 6, 9, 9, 12 ]
[ -2, -3, -1, -2 ]
input : list = [0, 1, -3, -2] output : list = [5, 6, 2, 3]
generated_output : list = add_n(input,5)
generated_output : list = add_n([0, 1, -3, -2],5)
[ 5, 6, 2, 3 ]
[ 0, 1, -3, -2 ]
input : list = [4, -3, -2] output : list = [12, -9, -6]
generated_output : list = mul_n(input,3)
generated_output : list = mul_n([4, -3, -2],3)
[ 12, -9, -6 ]
[ 4, -3, -2 ]
input : list = [-4, 3, 4] output : list = [3, -4]
generated_output : list = reverse(sub_n(take(sub_n(sort_asc(input),1),2),-1))
generated_output : list = reverse(sub_n(take(sub_n(sort_asc([-4, 3, 4]),1),2),-1))
[ 3, -4 ]
[ -4, 3, 4 ]
input : list = [0, 2] output : list = [1, 5]
generated_output : list = sort_asc(sub_n(sort_des(mul_n(input,-2)),-5))
generated_output : list = sort_asc(sub_n(sort_des(mul_n([0, 2],-2)),-5))
[ 1, 5 ]
[ 0, 2 ]
input : list = [2, -5, 4] output : list = [-8, -1, 1]
generated_output : list = sort_asc(take(add_n(sort_des(input),-3),17))
generated_output : list = sort_asc(take(add_n(sort_des([2, -5, 4]),-3),17))
[ -8, -1, 1 ]
[ 2, -5, 4 ]
input : list = [0, -5, 3] output : list = [2, -6]
generated_output : list = reverse(sub_n(sub_n(drop(input,1),-4),5))
generated_output : list = reverse(sub_n(sub_n(drop([0, -5, 3],1),-4),5))
[ 2, -6 ]
[ 0, -5, 3 ]
input : list = [-2, -5] output : list = [0, -3]
generated_output : list = sort_des(sort_asc(sort_asc(sub_n(sort_des(input),-2))))
generated_output : list = sort_des(sort_asc(sort_asc(sub_n(sort_des([-2, -5]),-2))))
[ 0, -3 ]
[ -2, -5 ]
input : list = [1, 4, -2] output : list = [4, 7, 1]
generated_output : list = take(reverse(mul_n(reverse(sub_n(input,-3)),1)),36)
generated_output : list = take(reverse(mul_n(reverse(sub_n([1, 4, -2],-3)),1)),36)
[ 4, 7, 1 ]
[ 1, 4, -2 ]
input : list = [4, -4, -3] output : list = [9, 1, 2]
generated_output : list = sub_n(input,-5)
generated_output : list = sub_n([4, -4, -3],-5)
[ 9, 1, 2 ]
[ 4, -4, -3 ]
input : list = [-5, 4, -3, -5, 2] output : list = [20, 10, -15, -25, -25]
generated_output : list = reverse(sort_asc(sort_asc(mul_n(input,5))))
generated_output : list = reverse(sort_asc(sort_asc(mul_n([-5, 4, -3, -5, 2],5))))
[ 20, 10, -15, -25, -25 ]
[ -5, 4, -3, -5, 2 ]
input : list = [-2, -4, 2] output : list = [0, -6]
generated_output : list = sub_n(sort_des(sub_n(reverse(drop(input,1)),4)),-2)
generated_output : list = sub_n(sort_des(sub_n(reverse(drop([-2, -4, 2],1)),4)),-2)
[ 0, -6 ]
[ -2, -4, 2 ]
input : list = [-1, -5, 3, -3] output : list = [-3, -9]
generated_output : list = sub_n(reverse(reverse(drop(add_n(input,-4),2))),2)
generated_output : list = sub_n(reverse(reverse(drop(add_n([-1, -5, 3, -3],-4),2))),2)
[ -3, -9 ]
[ -1, -5, 3, -3 ]
input : list = [-1, -1, 3, -4, 3] output : list = [-1, 3, -4, 3]
generated_output : list = drop(input,1)
generated_output : list = drop([-1, -1, 3, -4, 3],1)
[ -1, 3, -4, 3 ]
[ -1, -1, 3, -4, 3 ]
input : list = [-2, 5, 0, 1, 2] output : list = [6, 7]
generated_output : list = sub_n(drop(input,3),-5)
generated_output : list = sub_n(drop([-2, 5, 0, 1, 2],3),-5)
[ 6, 7 ]
[ -2, 5, 0, 1, 2 ]
input : list = [2, 0, 4, 5] output : list = [-25, -20, -10, 0]
generated_output : list = take(reverse(mul_n(sort_asc(sort_asc(input)),-5)),15)
generated_output : list = take(reverse(mul_n(sort_asc(sort_asc([2, 0, 4, 5])),-5)),15)
[ -25, -20, -10, 0 ]
[ 2, 0, 4, 5 ]
input : list = [5, 0, 5, -4, -5, -4] output : list = [-27, -2, -27, 18, 23, 18]
generated_output : list = sub_n(mul_n(sub_n(input,-1),-5),-3)
generated_output : list = sub_n(mul_n(sub_n([5, 0, 5, -4, -5, -4],-1),-5),-3)
[ -27, -2, -27, 18, 23, 18 ]
[ 5, 0, 5, -4, -5, -4 ]
input : list = [-1, 1, -1, -1, 3, 5] output : list = [4, 4, 4, -4, -12, -20]
generated_output : list = sort_des(mul_n(input,-4))
generated_output : list = sort_des(mul_n([-1, 1, -1, -1, 3, 5],-4))
[ 4, 4, 4, -4, -12, -20 ]
[ -1, 1, -1, -1, 3, 5 ]
input : list = [-3, -5, -4, 2] output : list = [6, -14, -18, -22]
generated_output : list = add_n(mul_n(sort_des(input),4),-2)
generated_output : list = add_n(mul_n(sort_des([-3, -5, -4, 2]),4),-2)
[ 6, -14, -18, -22 ]
[ -3, -5, -4, 2 ]
input : list = [0, -4] output : list = [2, -2]
generated_output : list = take(sub_n(input,-2),6)
generated_output : list = take(sub_n([0, -4],-2),6)
[ 2, -2 ]
[ 0, -4 ]
input : list = [1, 3, 4, 5, -1] output : list = [2, 1, 0, -2, -4]
generated_output : list = add_n(sort_des(sub_n(reverse(sort_des(input)),-1)),-4)
generated_output : list = add_n(sort_des(sub_n(reverse(sort_des([1, 3, 4, 5, -1])),-1)),-4)
[ 2, 1, 0, -2, -4 ]
[ 1, 3, 4, 5, -1 ]
input : list = [-5, 0, 2, 5, 5, 5] output : list = [-36, -36, -36]
generated_output : list = reverse(mul_n(sub_n(drop(input,3),-4),-4))
generated_output : list = reverse(mul_n(sub_n(drop([-5, 0, 2, 5, 5, 5],3),-4),-4))
[ -36, -36, -36 ]
[ -5, 0, 2, 5, 5, 5 ]
input : list = [-1, -1] output : list = [7, 7]
generated_output : list = reverse(sub_n(sub_n(sub_n(add_n(input,5),-5),4),-2))
generated_output : list = reverse(sub_n(sub_n(sub_n(add_n([-1, -1],5),-5),4),-2))
[ 7, 7 ]
[ -1, -1 ]
input : list = [2, -5, 4] output : list = [4, -5, 2]
generated_output : list = reverse(input)
generated_output : list = reverse([2, -5, 4])
[ 4, -5, 2 ]
[ 2, -5, 4 ]
input : list = [-3, -4] output : list = [-6, -7]
generated_output : list = reverse(take(sort_asc(sub_n(input,3)),12))
generated_output : list = reverse(take(sort_asc(sub_n([-3, -4],3)),12))
[ -6, -7 ]
[ -3, -4 ]
input : list = [5, -3, 0, -3] output : list = [-3, -3, 0, 5]
generated_output : list = sort_asc(reverse(input))
generated_output : list = sort_asc(reverse([5, -3, 0, -3]))
[ -3, -3, 0, 5 ]
[ 5, -3, 0, -3 ]
input : list = [-1, 0, -4, -3] output : list = [-2, -1, 1, 2]
generated_output : list = sort_asc(reverse(sort_asc(add_n(add_n(input,3),-1))))
generated_output : list = sort_asc(reverse(sort_asc(add_n(add_n([-1, 0, -4, -3],3),-1))))
[ -2, -1, 1, 2 ]
[ -1, 0, -4, -3 ]
input : list = [-3, -3, -2] output : list = [-3, -3, -2]
generated_output : list = reverse(sort_des(mul_n(sort_asc(sort_asc(input)),1)))
generated_output : list = reverse(sort_des(mul_n(sort_asc(sort_asc([-3, -3, -2])),1)))
[ -3, -3, -2 ]
[ -3, -3, -2 ]
input : list = [3, -2, 5] output : list = [-2, 5]
generated_output : list = drop(input,1)
generated_output : list = drop([3, -2, 5],1)
[ -2, 5 ]
[ 3, -2, 5 ]
input : list = [-1, 3, 4, 2, -4] output : list = [8, -16]
generated_output : list = sort_des(mul_n(mul_n(sort_asc(drop(input,3)),-2),-2))
generated_output : list = sort_des(mul_n(mul_n(sort_asc(drop([-1, 3, 4, 2, -4],3)),-2),-2))
[ 8, -16 ]
[ -1, 3, 4, 2, -4 ]
input : list = [5, 4, 4, -3, -1, -4] output : list = [6, 5, 3, -2]
generated_output : list = mul_n(sort_asc(add_n(sub_n(drop(input,2),1),-1)),-1)
generated_output : list = mul_n(sort_asc(add_n(sub_n(drop([5, 4, 4, -3, -1, -4],2),1),-1)),-1)
[ 6, 5, 3, -2 ]
[ 5, 4, 4, -3, -1, -4 ]
input : list = [-1, 5, -2] output : list = [0, -12, -14]
generated_output : list = sub_n(mul_n(sub_n(add_n(sort_des(input),1),5),2),2)
generated_output : list = sub_n(mul_n(sub_n(add_n(sort_des([-1, 5, -2]),1),5),2),2)
[ 0, -12, -14 ]
[ -1, 5, -2 ]
input : list = [5, 3] output : list = [15, 9]
generated_output : list = sort_des(sort_des(take(reverse(mul_n(input,3)),17)))
generated_output : list = sort_des(sort_des(take(reverse(mul_n([5, 3],3)),17)))
[ 15, 9 ]
[ 5, 3 ]
input : list = [-4, -1] output : list = [-2, 1]
generated_output : list = add_n(sort_asc(sort_asc(sub_n(sort_asc(input),-4))),-2)
generated_output : list = add_n(sort_asc(sort_asc(sub_n(sort_asc([-4, -1]),-4))),-2)
[ -2, 1 ]
[ -4, -1 ]
input : list = [-3, 1] output : list = [3, -1]
generated_output : list = mul_n(input,-1)
generated_output : list = mul_n([-3, 1],-1)
[ 3, -1 ]
[ -3, 1 ]
input : list = [-4, -3, -3, 5, -2, 3] output : list = [-7, -6, -6, -5, 0, 2]
generated_output : list = sort_asc(reverse(add_n(sub_n(sort_asc(input),2),-1)))
generated_output : list = sort_asc(reverse(add_n(sub_n(sort_asc([-4, -3, -3, 5, -2, 3]),2),-1)))
[ -7, -6, -6, -5, 0, 2 ]
[ -4, -3, -3, 5, -2, 3 ]
input : list = [3, -3] output : list = [-3, 3]
generated_output : list = sort_asc(sort_des(input))
generated_output : list = sort_asc(sort_des([3, -3]))
[ -3, 3 ]
[ 3, -3 ]
input : list = [1, -2, -5] output : list = [-5, 10, 25]
generated_output : list = mul_n(input,-5)
generated_output : list = mul_n([1, -2, -5],-5)
[ -5, 10, 25 ]
[ 1, -2, -5 ]
input : list = [4, 3, -3, 3, 1, -5] output : list = [-3, -4, -10, -4, -6, -12]
generated_output : list = add_n(add_n(add_n(add_n(input,4),-3),-4),-4)
generated_output : list = add_n(add_n(add_n(add_n([4, 3, -3, 3, 1, -5],4),-3),-4),-4)
[ -3, -4, -10, -4, -6, -12 ]
[ 4, 3, -3, 3, 1, -5 ]
input : list = [-3, -4, 5, 2] output : list = [5, 2, -3, -4]
generated_output : list = reverse(sort_asc(sort_asc(sort_des(sort_asc(input)))))
generated_output : list = reverse(sort_asc(sort_asc(sort_des(sort_asc([-3, -4, 5, 2])))))
[ 5, 2, -3, -4 ]
[ -3, -4, 5, 2 ]
input : list = [-4, -1, -5] output : list = [-5, -1, -4]
generated_output : list = reverse(input)
generated_output : list = reverse([-4, -1, -5])
[ -5, -1, -4 ]
[ -4, -1, -5 ]
input : list = [-2, 1, 3, -1] output : list = [7, 5, 3, 2]
generated_output : list = add_n(sort_des(take(reverse(sort_asc(input)),30)),4)
generated_output : list = add_n(sort_des(take(reverse(sort_asc([-2, 1, 3, -1])),30)),4)
[ 7, 5, 3, 2 ]
[ -2, 1, 3, -1 ]
input : list = [-2, 5, 2, -2, -2, 3] output : list = [5, 3, 2, -2, -2, -2]
generated_output : list = sort_des(input)
generated_output : list = sort_des([-2, 5, 2, -2, -2, 3])
[ 5, 3, 2, -2, -2, -2 ]
[ -2, 5, 2, -2, -2, 3 ]
input : list = [5, 5, -3, 1, 4] output : list = [5, 5, 4, 1, -3]
generated_output : list = sort_des(input)
generated_output : list = sort_des([5, 5, -3, 1, 4])
[ 5, 5, 4, 1, -3 ]
[ 5, 5, -3, 1, 4 ]
input : list = [2, -4, 2, -3, -1] output : list = [-3, -2, 0, 3, 3]
generated_output : list = sort_asc(reverse(sub_n(take(sort_asc(input),13),-1)))
generated_output : list = sort_asc(reverse(sub_n(take(sort_asc([2, -4, 2, -3, -1]),13),-1)))
[ -3, -2, 0, 3, 3 ]
[ 2, -4, 2, -3, -1 ]
input : list = [3, 0, -4, 2, -4] output : list = [-5, -2, 4, 16, 16]
generated_output : list = add_n(reverse(mul_n(take(sort_asc(input),5),-3)),4)
generated_output : list = add_n(reverse(mul_n(take(sort_asc([3, 0, -4, 2, -4]),5),-3)),4)
[ -5, -2, 4, 16, 16 ]
[ 3, 0, -4, 2, -4 ]
input : list = [2, -2, -2, -2, -2, 0] output : list = [0, -2, -2, -2, -2, 2]
generated_output : list = reverse(input)
generated_output : list = reverse([2, -2, -2, -2, -2, 0])
[ 0, -2, -2, -2, -2, 2 ]
[ 2, -2, -2, -2, -2, 0 ]
input : list = [-3, -3, 1, 4, -3, -3] output : list = [4, 1, -3, -3, -3, -3]
generated_output : list = sort_des(input)
generated_output : list = sort_des([-3, -3, 1, 4, -3, -3])
[ 4, 1, -3, -3, -3, -3 ]
[ -3, -3, 1, 4, -3, -3 ]
input : list = [3, -1, 4, 4] output : list = [4, 4, 3, -1]
generated_output : list = sort_des(reverse(reverse(reverse(reverse(input)))))
generated_output : list = sort_des(reverse(reverse(reverse(reverse([3, -1, 4, 4])))))
[ 4, 4, 3, -1 ]
[ 3, -1, 4, 4 ]
input : list = [1, -5, 4, 5] output : list = [12, 10, -8]
generated_output : list = take(reverse(add_n(mul_n(sub_n(input,-2),2),-2)),3)
generated_output : list = take(reverse(add_n(mul_n(sub_n([1, -5, 4, 5],-2),2),-2)),3)
[ 12, 10, -8 ]
[ 1, -5, 4, 5 ]
input : list = [2, -3, -5, -4] output : list = [-7, -6, -5, 0]
generated_output : list = sort_asc(sub_n(add_n(input,1),3))
generated_output : list = sort_asc(sub_n(add_n([2, -3, -5, -4],1),3))
[ -7, -6, -5, 0 ]
[ 2, -3, -5, -4 ]
input : list = [-1, 3, 1, 0] output : list = [0, -4, -12]
generated_output : list = mul_n(mul_n(sort_asc(reverse(drop(input,1))),-2),2)
generated_output : list = mul_n(mul_n(sort_asc(reverse(drop([-1, 3, 1, 0],1))),-2),2)
[ 0, -4, -12 ]
[ -1, 3, 1, 0 ]
input : list = [-5, 3, 5, 4, 5, 5] output : list = [-5, 3, 4, 5, 5, 5]
generated_output : list = sort_asc(input)
generated_output : list = sort_asc([-5, 3, 5, 4, 5, 5])
[ -5, 3, 4, 5, 5, 5 ]
[ -5, 3, 5, 4, 5, 5 ]
input : list = [3, 4, 3, -5, 0, 3] output : list = [-17, 3, 15, 15, 15, 19]
generated_output : list = sub_n(sort_asc(sort_asc(mul_n(sort_asc(input),4))),-3)
generated_output : list = sub_n(sort_asc(sort_asc(mul_n(sort_asc([3, 4, 3, -5, 0, 3]),4))),-3)
[ -17, 3, 15, 15, 15, 19 ]
[ 3, 4, 3, -5, 0, 3 ]
input : list = [-1, 2, 4] output : list = [-1]
generated_output : list = take(input,1)
generated_output : list = take([-1, 2, 4],1)
[ -1 ]
[ -1, 2, 4 ]
input : list = [2, 3, -5, -5] output : list = [-21, -21]
generated_output : list = mul_n(add_n(sort_des(take(sort_asc(input),2)),-2),3)
generated_output : list = mul_n(add_n(sort_des(take(sort_asc([2, 3, -5, -5]),2)),-2),3)
[ -21, -21 ]
[ 2, 3, -5, -5 ]
input : list = [-5, -3, 2, 2] output : list = [-150, -90, 60, 60]
generated_output : list = mul_n(mul_n(mul_n(sub_n(add_n(input,-4),-4),-5),3),-2)
generated_output : list = mul_n(mul_n(mul_n(sub_n(add_n([-5, -3, 2, 2],-4),-4),-5),3),-2)
[ -150, -90, 60, 60 ]
[ -5, -3, 2, 2 ]
input : list = [-1, -1, -5, 0, 0, 1] output : list = [25, 125]
generated_output : list = mul_n(mul_n(reverse(take(sort_asc(input),2)),5),-5)
generated_output : list = mul_n(mul_n(reverse(take(sort_asc([-1, -1, -5, 0, 0, 1]),2)),5),-5)
[ 25, 125 ]
[ -1, -1, -5, 0, 0, 1 ]
input : list = [2, 0, -4] output : list = [0, -4]
generated_output : list = drop(input,1)
generated_output : list = drop([2, 0, -4],1)
[ 0, -4 ]
[ 2, 0, -4 ]
input : list = [-4, -5, 0, 5] output : list = [-20]
generated_output : list = mul_n(reverse(reverse(reverse(take(input,1)))),5)
generated_output : list = mul_n(reverse(reverse(reverse(take([-4, -5, 0, 5],1)))),5)
[ -20 ]
[ -4, -5, 0, 5 ]
input : list = [-3, 4, -3, 5, 2, -3] output : list = [20, 20, 20, -5, -15, -20]
generated_output : list = take(take(mul_n(sort_asc(add_n(input,-1)),-5),29),22)
generated_output : list = take(take(mul_n(sort_asc(add_n([-3, 4, -3, 5, 2, -3],-1)),-5),29),22)
[ 20, 20, 20, -5, -15, -20 ]
[ -3, 4, -3, 5, 2, -3 ]
input : list = [5, 2, 4] output : list = [5]
generated_output : list = take(input,1)
generated_output : list = take([5, 2, 4],1)
[ 5 ]
[ 5, 2, 4 ]
input : list = [5, 5, -1, 5, 4] output : list = [-13, -13, -13, -9, 11]
generated_output : list = reverse(sub_n(mul_n(add_n(sort_asc(input),-3),-4),5))
generated_output : list = reverse(sub_n(mul_n(add_n(sort_asc([5, 5, -1, 5, 4]),-3),-4),5))
[ -13, -13, -13, -9, 11 ]
[ 5, 5, -1, 5, 4 ]
input : list = [0, 3, -1] output : list = [-5, -4, -1]
generated_output : list = take(add_n(add_n(sort_asc(reverse(input)),1),-5),43)
generated_output : list = take(add_n(add_n(sort_asc(reverse([0, 3, -1])),1),-5),43)
[ -5, -4, -1 ]
[ 0, 3, -1 ]
input : list = [4, -3, -1, -4] output : list = [-13, 29, 17, 35]
generated_output : list = take(add_n(mul_n(sub_n(mul_n(input,3),3),-2),5),32)
generated_output : list = take(add_n(mul_n(sub_n(mul_n([4, -3, -1, -4],3),3),-2),5),32)
[ -13, 29, 17, 35 ]
[ 4, -3, -1, -4 ]
input : list = [-1, -3, 1, -1, -1] output : list = [-1, 1, 3]
generated_output : list = sort_asc(sub_n(reverse(take(drop(input,1),3)),-2))
generated_output : list = sort_asc(sub_n(reverse(take(drop([-1, -3, 1, -1, -1],1),3)),-2))
[ -1, 1, 3 ]
[ -1, -3, 1, -1, -1 ]
input : list = [0, 5, -2] output : list = [-3, -1, 4]
generated_output : list = sort_asc(add_n(sort_asc(reverse(sort_asc(input))),-1))
generated_output : list = sort_asc(add_n(sort_asc(reverse(sort_asc([0, 5, -2]))),-1))
[ -3, -1, 4 ]
[ 0, 5, -2 ]
input : list = [2, -5, 0, 2, 0] output : list = [8, 1, 6, 8, 6]
generated_output : list = add_n(sub_n(input,-5),1)
generated_output : list = add_n(sub_n([2, -5, 0, 2, 0],-5),1)
[ 8, 1, 6, 8, 6 ]
[ 2, -5, 0, 2, 0 ]
input : list = [2, 0, 1] output : list = [-8, -10]
generated_output : list = sort_des(mul_n(mul_n(sub_n(drop(input,1),5),-1),-2))
generated_output : list = sort_des(mul_n(mul_n(sub_n(drop([2, 0, 1],1),5),-1),-2))
[ -8, -10 ]
[ 2, 0, 1 ]
input : list = [-3, 3, 3, 0] output : list = [-3, 0, 3, 3]
generated_output : list = sort_asc(take(add_n(sub_n(input,-4),-4),30))
generated_output : list = sort_asc(take(add_n(sub_n([-3, 3, 3, 0],-4),-4),30))
[ -3, 0, 3, 3 ]
[ -3, 3, 3, 0 ]
input : list = [-1, 5, 5, -3, 2, -2] output : list = [-4, -4, 8, 20, 24, 28]
generated_output : list = mul_n(sort_des(sort_asc(add_n(sub_n(input,2),-2))),-4)
generated_output : list = mul_n(sort_des(sort_asc(add_n(sub_n([-1, 5, 5, -3, 2, -2],2),-2))),-4)
[ -4, -4, 8, 20, 24, 28 ]
[ -1, 5, 5, -3, 2, -2 ]
input : list = [3, -3, -2] output : list = [3, -2, -3]
generated_output : list = sort_des(sort_des(sort_des(reverse(input))))
generated_output : list = sort_des(sort_des(sort_des(reverse([3, -3, -2]))))
[ 3, -2, -3 ]
[ 3, -3, -2 ]
input : list = [2, 4, -3, 1] output : list = [0, 4, 5, 7]
generated_output : list = sort_asc(sub_n(reverse(add_n(sub_n(input,-3),4)),4))
generated_output : list = sort_asc(sub_n(reverse(add_n(sub_n([2, 4, -3, 1],-3),4)),4))
[ 0, 4, 5, 7 ]
[ 2, 4, -3, 1 ]
input : list = [5, 3, -2, 2] output : list = [-3, 1, 2, 4]
generated_output : list = reverse(sort_des(mul_n(add_n(reverse(input),-1),1)))
generated_output : list = reverse(sort_des(mul_n(add_n(reverse([5, 3, -2, 2]),-1),1)))
[ -3, 1, 2, 4 ]
[ 5, 3, -2, 2 ]
input : list = [-3, -2, -3, -1, -2, 2] output : list = [-7, -6, -7]
generated_output : list = add_n(take(input,3),-4)
generated_output : list = add_n(take([-3, -2, -3, -1, -2, 2],3),-4)
[ -7, -6, -7 ]
[ -3, -2, -3, -1, -2, 2 ]
input : list = [4, -5, -3, -4] output : list = [-1, 0, 1, 8]
generated_output : list = add_n(sort_asc(take(take(reverse(input),4),23)),4)
generated_output : list = add_n(sort_asc(take(take(reverse([4, -5, -3, -4]),4),23)),4)
[ -1, 0, 1, 8 ]
[ 4, -5, -3, -4 ]
input : list = [1, 2, 0] output : list = [5]
generated_output : list = add_n(reverse(take(input,1)),4)
generated_output : list = add_n(reverse(take([1, 2, 0],1)),4)
[ 5 ]
[ 1, 2, 0 ]
input : list = [-3, -3, 2, 4] output : list = [20, 20, 45, 55]
generated_output : list = mul_n(add_n(sub_n(input,-3),4),5)
generated_output : list = mul_n(add_n(sub_n([-3, -3, 2, 4],-3),4),5)
[ 20, 20, 45, 55 ]
[ -3, -3, 2, 4 ]
input : list = [-2, -5, -5, 5, -1] output : list = [-5, -5, -2, -1, 5]
generated_output : list = reverse(sort_des(reverse(input)))
generated_output : list = reverse(sort_des(reverse([-2, -5, -5, 5, -1])))
[ -5, -5, -2, -1, 5 ]
[ -2, -5, -5, 5, -1 ]
input : list = [-2, -4, -3, -4, 3, -4] output : list = [3, -2, -3, -4, -4, -4]
generated_output : list = sort_des(sort_des(input))
generated_output : list = sort_des(sort_des([-2, -4, -3, -4, 3, -4]))
[ 3, -2, -3, -4, -4, -4 ]
[ -2, -4, -3, -4, 3, -4 ]
input : list = [3, -5, 2, 1, -2, -4] output : list = [-2, -10, -3, -4, -7, -9]
generated_output : list = sub_n(input,5)
generated_output : list = sub_n([3, -5, 2, 1, -2, -4],5)
[ -2, -10, -3, -4, -7, -9 ]
[ 3, -5, 2, 1, -2, -4 ]
input : list = [0, -5] output : list = [-2, 8]
generated_output : list = reverse(mul_n(add_n(sort_des(sub_n(input,1)),5),2))
generated_output : list = reverse(mul_n(add_n(sort_des(sub_n([0, -5],1)),5),2))
[ -2, 8 ]
[ 0, -5 ]
input : list = [-5, 0, 1, -1, -3] output : list = [0, 4, 8, 10, 12]
generated_output : list = mul_n(take(sort_asc(sort_des(add_n(input,5))),8),2)
generated_output : list = mul_n(take(sort_asc(sort_des(add_n([-5, 0, 1, -1, -3],5))),8),2)
[ 0, 4, 8, 10, 12 ]
[ -5, 0, 1, -1, -3 ]
input : list = [3, -3, -5, -1, 1, -1] output : list = [-4, -2, 0, 0, 2, 4]
generated_output : list = sub_n(mul_n(reverse(sort_asc(sort_asc(input))),-1),1)
generated_output : list = sub_n(mul_n(reverse(sort_asc(sort_asc([3, -3, -5, -1, 1, -1]))),-1),1)
[ -4, -2, 0, 0, 2, 4 ]
[ 3, -3, -5, -1, 1, -1 ]
input : list = [-3, -3] output : list = [12, 12]
generated_output : list = mul_n(input,-4)
generated_output : list = mul_n([-3, -3],-4)
[ 12, 12 ]
[ -3, -3 ]
input : list = [-4, 5, -1, -3] output : list = [-1, -3]
generated_output : list = drop(input,2)
generated_output : list = drop([-4, 5, -1, -3],2)
[ -1, -3 ]
[ -4, 5, -1, -3 ]
input : list = [0, -1, 4] output : list = [-2, -10, -12]
generated_output : list = mul_n(mul_n(add_n(take(sort_des(input),7),-5),1),2)
generated_output : list = mul_n(mul_n(add_n(take(sort_des([0, -1, 4]),7),-5),1),2)
[ -2, -10, -12 ]
[ 0, -1, 4 ]
input : list = [5, 1, 3] output : list = [12]
generated_output : list = add_n(add_n(sort_asc(add_n(take(input,1),-1)),4),4)
generated_output : list = add_n(add_n(sort_asc(add_n(take([5, 1, 3],1),-1)),4),4)
[ 12 ]
[ 5, 1, 3 ]
input : list = [1, 0, 2, 1] output : list = [-3, -2, -2, -1]
generated_output : list = sort_asc(sort_des(sort_des(sub_n(sort_asc(input),3))))
generated_output : list = sort_asc(sort_des(sort_des(sub_n(sort_asc([1, 0, 2, 1]),3))))
[ -3, -2, -2, -1 ]
[ 1, 0, 2, 1 ]
input : list = [-5, -5, 0, -1] output : list = [-9, -9, -5, -4]
generated_output : list = add_n(sub_n(sort_asc(sort_asc(input)),5),1)
generated_output : list = add_n(sub_n(sort_asc(sort_asc([-5, -5, 0, -1])),5),1)
[ -9, -9, -5, -4 ]
[ -5, -5, 0, -1 ]
input : list = [2, -1, 0] output : list = [1, 0, 3]
generated_output : list = take(reverse(reverse(add_n(reverse(input),1))),24)
generated_output : list = take(reverse(reverse(add_n(reverse([2, -1, 0]),1))),24)
[ 1, 0, 3 ]
[ 2, -1, 0 ]
input : list = [3, -2, -4, -1, 5] output : list = [-15, 0, 30]
generated_output : list = mul_n(sub_n(take(sub_n(drop(input,2),1),12),-2),5)
generated_output : list = mul_n(sub_n(take(sub_n(drop([3, -2, -4, -1, 5],2),1),12),-2),5)
[ -15, 0, 30 ]
[ 3, -2, -4, -1, 5 ]
input : list = [0, 4, 0] output : list = [0, 16, 0]
generated_output : list = reverse(take(mul_n(input,4),7))
generated_output : list = reverse(take(mul_n([0, 4, 0],4),7))
[ 0, 16, 0 ]
[ 0, 4, 0 ]
input : list = [-2, 2, -3, -3] output : list = [2, -2, -3, -3]
generated_output : list = sort_des(input)
generated_output : list = sort_des([-2, 2, -3, -3])
[ 2, -2, -3, -3 ]
[ -2, 2, -3, -3 ]
README.md exists but content is empty.
Downloads last month
43