input
stringlengths 41
91
| io_out
list | output_masked
stringlengths 39
81
| output
stringlengths 41
100
| io_inp
list |
---|---|---|---|---|
input : list = [-4, 5]
output : list = [-20, 16]
|
[
-20,
16
] |
generated_output : list = take(reverse(reverse(mul_n(sub_n(input,1),4))),5)
|
generated_output : list = take(reverse(reverse(mul_n(sub_n([-4, 5],1),4))),5)
|
[
-4,
5
] |
input : list = [1, -4, -5, 2]
output : list = [1, -6]
|
[
1,
-6
] |
generated_output : list = sub_n(reverse(reverse(reverse(drop(input,2)))),1)
|
generated_output : list = sub_n(reverse(reverse(reverse(drop([1, -4, -5, 2],2)))),1)
|
[
1,
-4,
-5,
2
] |
input : list = [-1, 3, 5, -1, 1]
output : list = [1, -1, 5, 3, -1]
|
[
1,
-1,
5,
3,
-1
] |
generated_output : list = reverse(input)
|
generated_output : list = reverse([-1, 3, 5, -1, 1])
|
[
-1,
3,
5,
-1,
1
] |
input : list = [3, 2, 0]
output : list = [5, 11, 14]
|
[
5,
11,
14
] |
generated_output : list = sub_n(mul_n(sort_asc(sort_asc(sort_des(input))),3),-5)
|
generated_output : list = sub_n(mul_n(sort_asc(sort_asc(sort_des([3, 2, 0]))),3),-5)
|
[
3,
2,
0
] |
input : list = [2, -1, 4, -5]
output : list = [10]
|
[
10
] |
generated_output : list = add_n(add_n(reverse(sub_n(take(input,1),-2)),5),1)
|
generated_output : list = add_n(add_n(reverse(sub_n(take([2, -1, 4, -5],1),-2)),5),1)
|
[
2,
-1,
4,
-5
] |
input : list = [-4, 1, -1, -5, 5, 0]
output : list = [-9, -4, -6, -10, 0, -5]
|
[
-9,
-4,
-6,
-10,
0,
-5
] |
generated_output : list = sub_n(input,5)
|
generated_output : list = sub_n([-4, 1, -1, -5, 5, 0],5)
|
[
-4,
1,
-1,
-5,
5,
0
] |
input : list = [-5, 0, -5, 2, -2, -1]
output : list = [1, -1, -2, -3, -6, -6]
|
[
1,
-1,
-2,
-3,
-6,
-6
] |
generated_output : list = sort_des(add_n(input,-1))
|
generated_output : list = sort_des(add_n([-5, 0, -5, 2, -2, -1],-1))
|
[
-5,
0,
-5,
2,
-2,
-1
] |
input : list = [1, -4, -5]
output : list = [-1, -6, -7]
|
[
-1,
-6,
-7
] |
generated_output : list = sort_des(add_n(sort_des(input),-2))
|
generated_output : list = sort_des(add_n(sort_des([1, -4, -5]),-2))
|
[
1,
-4,
-5
] |
input : list = [-2, 2, 2]
output : list = [24, -24, -24]
|
[
24,
-24,
-24
] |
generated_output : list = mul_n(mul_n(take(mul_n(input,1),5),4),-3)
|
generated_output : list = mul_n(mul_n(take(mul_n([-2, 2, 2],1),5),4),-3)
|
[
-2,
2,
2
] |
input : list = [0, 2]
output : list = [6, 4]
|
[
6,
4
] |
generated_output : list = sort_des(sub_n(input,-4))
|
generated_output : list = sort_des(sub_n([0, 2],-4))
|
[
0,
2
] |
input : list = [-3, 1, -2, -4]
output : list = [-4, -2, 1, -3]
|
[
-4,
-2,
1,
-3
] |
generated_output : list = reverse(input)
|
generated_output : list = reverse([-3, 1, -2, -4])
|
[
-3,
1,
-2,
-4
] |
input : list = [2, -1]
output : list = [-2, 1]
|
[
-2,
1
] |
generated_output : list = sort_asc(sub_n(sort_des(take(mul_n(input,1),5)),1))
|
generated_output : list = sort_asc(sub_n(sort_des(take(mul_n([2, -1],1),5)),1))
|
[
2,
-1
] |
input : list = [1, 3, -4, 4, 5]
output : list = [5, 4, -4, 3, 1]
|
[
5,
4,
-4,
3,
1
] |
generated_output : list = reverse(input)
|
generated_output : list = reverse([1, 3, -4, 4, 5])
|
[
1,
3,
-4,
4,
5
] |
input : list = [5, 3, 4, 4, -2]
output : list = [-3, -1, -2, -2, 4]
|
[
-3,
-1,
-2,
-2,
4
] |
generated_output : list = reverse(reverse(sub_n(take(mul_n(input,-1),21),-2)))
|
generated_output : list = reverse(reverse(sub_n(take(mul_n([5, 3, 4, 4, -2],-1),21),-2)))
|
[
5,
3,
4,
4,
-2
] |
input : list = [3, -3, 3, 4, 1]
output : list = [4, 3, 1, -3]
|
[
4,
3,
1,
-3
] |
generated_output : list = sort_des(take(sort_asc(take(reverse(input),4)),32))
|
generated_output : list = sort_des(take(sort_asc(take(reverse([3, -3, 3, 4, 1]),4)),32))
|
[
3,
-3,
3,
4,
1
] |
input : list = [-5, -4, 1]
output : list = [3, -12, -15]
|
[
3,
-12,
-15
] |
generated_output : list = sort_des(mul_n(input,3))
|
generated_output : list = sort_des(mul_n([-5, -4, 1],3))
|
[
-5,
-4,
1
] |
input : list = [1, -3, -5]
output : list = [-10, -6, 2]
|
[
-10,
-6,
2
] |
generated_output : list = mul_n(take(sort_asc(take(sort_des(input),19)),20),2)
|
generated_output : list = mul_n(take(sort_asc(take(sort_des([1, -3, -5]),19)),20),2)
|
[
1,
-3,
-5
] |
input : list = [3, 4, 5]
output : list = [5, 4, 3]
|
[
5,
4,
3
] |
generated_output : list = sort_des(sort_asc(input))
|
generated_output : list = sort_des(sort_asc([3, 4, 5]))
|
[
3,
4,
5
] |
input : list = [-5, 0, 4, -2]
output : list = [-8, 0, 4, 10]
|
[
-8,
0,
4,
10
] |
generated_output : list = sort_asc(reverse(reverse(mul_n(input,-2))))
|
generated_output : list = sort_asc(reverse(reverse(mul_n([-5, 0, 4, -2],-2))))
|
[
-5,
0,
4,
-2
] |
input : list = [-3, -4, 1, -5, -3]
output : list = [-6]
|
[
-6
] |
generated_output : list = sub_n(reverse(reverse(take(reverse(input),1))),3)
|
generated_output : list = sub_n(reverse(reverse(take(reverse([-3, -4, 1, -5, -3]),1))),3)
|
[
-3,
-4,
1,
-5,
-3
] |
input : list = [0, 3, -2]
output : list = [-2, -5, -7]
|
[
-2,
-5,
-7
] |
generated_output : list = take(reverse(sort_asc(add_n(input,-5))),13)
|
generated_output : list = take(reverse(sort_asc(add_n([0, 3, -2],-5))),13)
|
[
0,
3,
-2
] |
input : list = [-4, -1, -3, 1, 1, 4]
output : list = [8, -24]
|
[
8,
-24
] |
generated_output : list = mul_n(mul_n(sort_des(take(drop(input,2),2)),-4),-2)
|
generated_output : list = mul_n(mul_n(sort_des(take(drop([-4, -1, -3, 1, 1, 4],2),2)),-4),-2)
|
[
-4,
-1,
-3,
1,
1,
4
] |
input : list = [2, 1, -5, -3, 3]
output : list = [-5, -3, 1, 2, 3]
|
[
-5,
-3,
1,
2,
3
] |
generated_output : list = sort_asc(input)
|
generated_output : list = sort_asc([2, 1, -5, -3, 3])
|
[
2,
1,
-5,
-3,
3
] |
input : list = [-3, -1, 2, -1, -4, -4]
output : list = [-4, -4]
|
[
-4,
-4
] |
generated_output : list = sort_des(drop(input,4))
|
generated_output : list = sort_des(drop([-3, -1, 2, -1, -4, -4],4))
|
[
-3,
-1,
2,
-1,
-4,
-4
] |
input : list = [4, 1, 5, -3, -3]
output : list = [5, 4, 1, -3, -3]
|
[
5,
4,
1,
-3,
-3
] |
generated_output : list = sort_des(input)
|
generated_output : list = sort_des([4, 1, 5, -3, -3])
|
[
4,
1,
5,
-3,
-3
] |
input : list = [-1, -1, 5]
output : list = [4, -2, -2]
|
[
4,
-2,
-2
] |
generated_output : list = add_n(add_n(reverse(add_n(add_n(input,1),4)),-3),-3)
|
generated_output : list = add_n(add_n(reverse(add_n(add_n([-1, -1, 5],1),4)),-3),-3)
|
[
-1,
-1,
5
] |
input : list = [5, 2, 0, -4]
output : list = [5, 2, 0, -4]
|
[
5,
2,
0,
-4
] |
generated_output : list = sort_des(input)
|
generated_output : list = sort_des([5, 2, 0, -4])
|
[
5,
2,
0,
-4
] |
input : list = [-3, -4, 2, -2, 0, 1]
output : list = [-2, -4, -6, -10, -12, -14]
|
[
-2,
-4,
-6,
-10,
-12,
-14
] |
generated_output : list = mul_n(sort_des(take(sort_asc(sub_n(input,3)),33)),2)
|
generated_output : list = mul_n(sort_des(take(sort_asc(sub_n([-3, -4, 2, -2, 0, 1],3)),33)),2)
|
[
-3,
-4,
2,
-2,
0,
1
] |
input : list = [-5, -4]
output : list = [-5, -4]
|
[
-5,
-4
] |
generated_output : list = add_n(reverse(sub_n(sort_des(sub_n(input,-1)),-1)),-2)
|
generated_output : list = add_n(reverse(sub_n(sort_des(sub_n([-5, -4],-1)),-1)),-2)
|
[
-5,
-4
] |
input : list = [-4, -2, -4, 4]
output : list = [-4, -2, 4]
|
[
-4,
-2,
4
] |
generated_output : list = reverse(take(sort_des(input),3))
|
generated_output : list = reverse(take(sort_des([-4, -2, -4, 4]),3))
|
[
-4,
-2,
-4,
4
] |
input : list = [-4, -2, 0, -4]
output : list = [5, 3, 1, 1]
|
[
5,
3,
1,
1
] |
generated_output : list = take(sort_des(add_n(reverse(sort_asc(input)),5)),29)
|
generated_output : list = take(sort_des(add_n(reverse(sort_asc([-4, -2, 0, -4])),5)),29)
|
[
-4,
-2,
0,
-4
] |
input : list = [-5, -4, 2]
output : list = [-15, 15]
|
[
-15,
15
] |
generated_output : list = sort_asc(mul_n(sub_n(drop(input,1),-1),-5))
|
generated_output : list = sort_asc(mul_n(sub_n(drop([-5, -4, 2],1),-1),-5))
|
[
-5,
-4,
2
] |
input : list = [-3, 4, 1, -1, 2]
output : list = [4, 2, 1, -1, -3]
|
[
4,
2,
1,
-1,
-3
] |
generated_output : list = sort_des(input)
|
generated_output : list = sort_des([-3, 4, 1, -1, 2])
|
[
-3,
4,
1,
-1,
2
] |
input : list = [3, 3, 1, 5]
output : list = [3, 3]
|
[
3,
3
] |
generated_output : list = take(take(input,2),4)
|
generated_output : list = take(take([3, 3, 1, 5],2),4)
|
[
3,
3,
1,
5
] |
input : list = [5, -4, -1, 2]
output : list = [2]
|
[
2
] |
generated_output : list = reverse(reverse(reverse(sub_n(take(input,1),3))))
|
generated_output : list = reverse(reverse(reverse(sub_n(take([5, -4, -1, 2],1),3))))
|
[
5,
-4,
-1,
2
] |
input : list = [-2, 4, -1]
output : list = [0, 1, 6]
|
[
0,
1,
6
] |
generated_output : list = sort_asc(add_n(sort_asc(sort_des(sub_n(input,-4))),-2))
|
generated_output : list = sort_asc(add_n(sort_asc(sort_des(sub_n([-2, 4, -1],-4))),-2))
|
[
-2,
4,
-1
] |
input : list = [-3, -5, -5, 4, -2]
output : list = [-5, -5, -3, -2, 4]
|
[
-5,
-5,
-3,
-2,
4
] |
generated_output : list = sort_asc(input)
|
generated_output : list = sort_asc([-3, -5, -5, 4, -2])
|
[
-3,
-5,
-5,
4,
-2
] |
input : list = [5, 0, -3]
output : list = [0, -3]
|
[
0,
-3
] |
generated_output : list = take(sort_des(drop(input,1)),16)
|
generated_output : list = take(sort_des(drop([5, 0, -3],1)),16)
|
[
5,
0,
-3
] |
input : list = [1, -2]
output : list = [105, 60]
|
[
105,
60
] |
generated_output : list = take(mul_n(reverse(mul_n(sub_n(input,5),5)),-3),21)
|
generated_output : list = take(mul_n(reverse(mul_n(sub_n([1, -2],5),5)),-3),21)
|
[
1,
-2
] |
input : list = [-4, 0, -5, 0, -3]
output : list = [-5, -4, -3, 0, 0]
|
[
-5,
-4,
-3,
0,
0
] |
generated_output : list = sort_asc(input)
|
generated_output : list = sort_asc([-4, 0, -5, 0, -3])
|
[
-4,
0,
-5,
0,
-3
] |
input : list = [0, -1, -1]
output : list = [-2, -1, -1]
|
[
-2,
-1,
-1
] |
generated_output : list = sub_n(mul_n(sub_n(reverse(sort_asc(input)),2),-1),4)
|
generated_output : list = sub_n(mul_n(sub_n(reverse(sort_asc([0, -1, -1])),2),-1),4)
|
[
0,
-1,
-1
] |
input : list = [-2, -5, -4]
output : list = [19]
|
[
19
] |
generated_output : list = add_n(take(mul_n(mul_n(take(input,1),-2),4),7),3)
|
generated_output : list = add_n(take(mul_n(mul_n(take([-2, -5, -4],1),-2),4),7),3)
|
[
-2,
-5,
-4
] |
input : list = [-2, -4]
output : list = [3, 5]
|
[
3,
5
] |
generated_output : list = sub_n(mul_n(input,-1),-1)
|
generated_output : list = sub_n(mul_n([-2, -4],-1),-1)
|
[
-2,
-4
] |
input : list = [0, 0, -5, 4]
output : list = [4, 0, 0, -5]
|
[
4,
0,
0,
-5
] |
generated_output : list = reverse(reverse(sort_des(input)))
|
generated_output : list = reverse(reverse(sort_des([0, 0, -5, 4])))
|
[
0,
0,
-5,
4
] |
input : list = [-4, -2, 0, 3, 5]
output : list = [-2]
|
[
-2
] |
generated_output : list = take(take(reverse(sort_des(drop(input,1))),1),14)
|
generated_output : list = take(take(reverse(sort_des(drop([-4, -2, 0, 3, 5],1))),1),14)
|
[
-4,
-2,
0,
3,
5
] |
input : list = [-1, 4, 0]
output : list = [0, -4, -5]
|
[
0,
-4,
-5
] |
generated_output : list = sort_des(sort_des(sort_asc(add_n(sort_asc(input),-4))))
|
generated_output : list = sort_des(sort_des(sort_asc(add_n(sort_asc([-1, 4, 0]),-4))))
|
[
-1,
4,
0
] |
input : list = [-5, 3]
output : list = [-13, -5]
|
[
-13,
-5
] |
generated_output : list = add_n(sub_n(input,4),-4)
|
generated_output : list = add_n(sub_n([-5, 3],4),-4)
|
[
-5,
3
] |
input : list = [1, -5, -4, -3, 2, -1]
output : list = [-5, 1]
|
[
-5,
1
] |
generated_output : list = sort_asc(take(input,2))
|
generated_output : list = sort_asc(take([1, -5, -4, -3, 2, -1],2))
|
[
1,
-5,
-4,
-3,
2,
-1
] |
input : list = [-1, 1, -5, -3]
output : list = [-10, -8]
|
[
-10,
-8
] |
generated_output : list = take(take(add_n(drop(input,2),-5),24),17)
|
generated_output : list = take(take(add_n(drop([-1, 1, -5, -3],2),-5),24),17)
|
[
-1,
1,
-5,
-3
] |
input : list = [4, 5, 3, 1]
output : list = [1, 3, 5]
|
[
1,
3,
5
] |
generated_output : list = reverse(sub_n(sub_n(take(drop(input,1),12),-3),3))
|
generated_output : list = reverse(sub_n(sub_n(take(drop([4, 5, 3, 1],1),12),-3),3))
|
[
4,
5,
3,
1
] |
input : list = [3, 2]
output : list = [-5, -8]
|
[
-5,
-8
] |
generated_output : list = take(sub_n(mul_n(take(sort_asc(input),5),-3),-1),13)
|
generated_output : list = take(sub_n(mul_n(take(sort_asc([3, 2]),5),-3),-1),13)
|
[
3,
2
] |
input : list = [-2, 1, -4, -5, 5]
output : list = [5, 1, -4, -5]
|
[
5,
1,
-4,
-5
] |
generated_output : list = sort_des(drop(input,1))
|
generated_output : list = sort_des(drop([-2, 1, -4, -5, 5],1))
|
[
-2,
1,
-4,
-5,
5
] |
input : list = [4, 0]
output : list = [5, 1]
|
[
5,
1
] |
generated_output : list = take(sort_des(take(sort_des(sub_n(input,-1)),21)),34)
|
generated_output : list = take(sort_des(take(sort_des(sub_n([4, 0],-1)),21)),34)
|
[
4,
0
] |
input : list = [5, -1, -2]
output : list = [-2, -1]
|
[
-2,
-1
] |
generated_output : list = reverse(drop(input,1))
|
generated_output : list = reverse(drop([5, -1, -2],1))
|
[
5,
-1,
-2
] |
input : list = [0, -1, -4]
output : list = [-1, -2, -5]
|
[
-1,
-2,
-5
] |
generated_output : list = sub_n(sub_n(sub_n(input,-5),5),1)
|
generated_output : list = sub_n(sub_n(sub_n([0, -1, -4],-5),5),1)
|
[
0,
-1,
-4
] |
input : list = [-1, 0, 3, 0]
output : list = [-40, -25, -25, -20]
|
[
-40,
-25,
-25,
-20
] |
generated_output : list = mul_n(reverse(add_n(sub_n(sort_asc(input),-4),1)),-5)
|
generated_output : list = mul_n(reverse(add_n(sub_n(sort_asc([-1, 0, 3, 0]),-4),1)),-5)
|
[
-1,
0,
3,
0
] |
input : list = [-3, -1, 0, -2, 4]
output : list = [-7, -5, -4, -6, 0]
|
[
-7,
-5,
-4,
-6,
0
] |
generated_output : list = add_n(input,-4)
|
generated_output : list = add_n([-3, -1, 0, -2, 4],-4)
|
[
-3,
-1,
0,
-2,
4
] |
input : list = [-5, -2, -5, -3, -3, 1]
output : list = [18, 18, 14, 14, 12, 6]
|
[
18,
18,
14,
14,
12,
6
] |
generated_output : list = sub_n(mul_n(sort_asc(sort_asc(add_n(input,-5))),-2),2)
|
generated_output : list = sub_n(mul_n(sort_asc(sort_asc(add_n([-5, -2, -5, -3, -3, 1],-5))),-2),2)
|
[
-5,
-2,
-5,
-3,
-3,
1
] |
input : list = [-1, -3]
output : list = [-33, -9]
|
[
-33,
-9
] |
generated_output : list = mul_n(sort_asc(add_n(mul_n(add_n(input,5),-4),5)),3)
|
generated_output : list = mul_n(sort_asc(add_n(mul_n(add_n([-1, -3],5),-4),5)),3)
|
[
-1,
-3
] |
input : list = [-1, 4, -4, 3, -2, -2]
output : list = [1, 0, -4, -5, -5, -7]
|
[
1,
0,
-4,
-5,
-5,
-7
] |
generated_output : list = sort_des(take(reverse(take(add_n(input,-3),19)),36))
|
generated_output : list = sort_des(take(reverse(take(add_n([-1, 4, -4, 3, -2, -2],-3),19)),36))
|
[
-1,
4,
-4,
3,
-2,
-2
] |
input : list = [-2, -3, 5]
output : list = [5, 4, 12]
|
[
5,
4,
12
] |
generated_output : list = sub_n(sub_n(input,-5),-2)
|
generated_output : list = sub_n(sub_n([-2, -3, 5],-5),-2)
|
[
-2,
-3,
5
] |
input : list = [-1, 0, 2]
output : list = [27, 17, 12]
|
[
27,
17,
12
] |
generated_output : list = mul_n(add_n(mul_n(add_n(sort_des(input),4),5),-3),1)
|
generated_output : list = mul_n(add_n(mul_n(add_n(sort_des([-1, 0, 2]),4),5),-3),1)
|
[
-1,
0,
2
] |
input : list = [2, 2, 1, -1]
output : list = [2, 2, 1, -1]
|
[
2,
2,
1,
-1
] |
generated_output : list = sort_des(reverse(sort_asc(reverse(reverse(input)))))
|
generated_output : list = sort_des(reverse(sort_asc(reverse(reverse([2, 2, 1, -1])))))
|
[
2,
2,
1,
-1
] |
input : list = [4, -2]
output : list = [-2, -8]
|
[
-2,
-8
] |
generated_output : list = add_n(take(sub_n(reverse(reverse(input)),2),11),-4)
|
generated_output : list = add_n(take(sub_n(reverse(reverse([4, -2])),2),11),-4)
|
[
4,
-2
] |
input : list = [-1, 0, 4, -1, 2]
output : list = [6, 2, 1]
|
[
6,
2,
1
] |
generated_output : list = reverse(take(sub_n(add_n(add_n(input,4),2),4),3))
|
generated_output : list = reverse(take(sub_n(add_n(add_n([-1, 0, 4, -1, 2],4),2),4),3))
|
[
-1,
0,
4,
-1,
2
] |
input : list = [4, -2, 2, -3]
output : list = [4, -2, 2, -3]
|
[
4,
-2,
2,
-3
] |
generated_output : list = reverse(reverse(input))
|
generated_output : list = reverse(reverse([4, -2, 2, -3]))
|
[
4,
-2,
2,
-3
] |
input : list = [-4, 2]
output : list = [0, -6]
|
[
0,
-6
] |
generated_output : list = sort_des(sort_asc(take(add_n(sort_des(input),-2),21)))
|
generated_output : list = sort_des(sort_asc(take(add_n(sort_des([-4, 2]),-2),21)))
|
[
-4,
2
] |
input : list = [-1, 3]
output : list = [-1, 3]
|
[
-1,
3
] |
generated_output : list = sort_asc(sort_des(input))
|
generated_output : list = sort_asc(sort_des([-1, 3]))
|
[
-1,
3
] |
input : list = [-3, -5, -1, 2]
output : list = [2, -1, -3, -5]
|
[
2,
-1,
-3,
-5
] |
generated_output : list = sort_des(sort_des(input))
|
generated_output : list = sort_des(sort_des([-3, -5, -1, 2]))
|
[
-3,
-5,
-1,
2
] |
input : list = [2, -3, -5]
output : list = [7]
|
[
7
] |
generated_output : list = mul_n(drop(reverse(take(add_n(input,5),12)),2),1)
|
generated_output : list = mul_n(drop(reverse(take(add_n([2, -3, -5],5),12)),2),1)
|
[
2,
-3,
-5
] |
input : list = [4, 2, -3, 5, -3, -2]
output : list = [0, 0, 1, 5, 7, 8]
|
[
0,
0,
1,
5,
7,
8
] |
generated_output : list = add_n(sort_asc(sub_n(add_n(sub_n(input,-4),-2),3)),4)
|
generated_output : list = add_n(sort_asc(sub_n(add_n(sub_n([4, 2, -3, 5, -3, -2],-4),-2),3)),4)
|
[
4,
2,
-3,
5,
-3,
-2
] |
input : list = [-3, 0]
output : list = [1, -2]
|
[
1,
-2
] |
generated_output : list = reverse(sub_n(input,-1))
|
generated_output : list = reverse(sub_n([-3, 0],-1))
|
[
-3,
0
] |
input : list = [-3, 0]
output : list = [-19, 5]
|
[
-19,
5
] |
generated_output : list = sub_n(reverse(mul_n(reverse(mul_n(input,-2)),-4)),-5)
|
generated_output : list = sub_n(reverse(mul_n(reverse(mul_n([-3, 0],-2)),-4)),-5)
|
[
-3,
0
] |
input : list = [-4, 5, -1, 4, -3, 4]
output : list = [-2, 7, 1, 6, -1, 6]
|
[
-2,
7,
1,
6,
-1,
6
] |
generated_output : list = add_n(input,2)
|
generated_output : list = add_n([-4, 5, -1, 4, -3, 4],2)
|
[
-4,
5,
-1,
4,
-3,
4
] |
input : list = [-3, 5]
output : list = [13, 5]
|
[
13,
5
] |
generated_output : list = reverse(add_n(sub_n(sort_asc(sort_des(input)),-4),4))
|
generated_output : list = reverse(add_n(sub_n(sort_asc(sort_des([-3, 5])),-4),4))
|
[
-3,
5
] |
input : list = [-1, 5, -5, -2, -4]
output : list = [-6, -4, -7, 3, -3]
|
[
-6,
-4,
-7,
3,
-3
] |
generated_output : list = add_n(reverse(input),-2)
|
generated_output : list = add_n(reverse([-1, 5, -5, -2, -4]),-2)
|
[
-1,
5,
-5,
-2,
-4
] |
input : list = [0, 2, 4, 5, -3]
output : list = [4, 3, 1, -1, -4]
|
[
4,
3,
1,
-1,
-4
] |
generated_output : list = sort_des(take(take(add_n(input,-1),13),33))
|
generated_output : list = sort_des(take(take(add_n([0, 2, 4, 5, -3],-1),13),33))
|
[
0,
2,
4,
5,
-3
] |
input : list = [1, 5, -3, 0]
output : list = [5, 1, 0]
|
[
5,
1,
0
] |
generated_output : list = sort_des(take(drop(sort_asc(sort_asc(input)),1),35))
|
generated_output : list = sort_des(take(drop(sort_asc(sort_asc([1, 5, -3, 0])),1),35))
|
[
1,
5,
-3,
0
] |
input : list = [-3, 2, -1, -5]
output : list = [6, 3, 1, -1]
|
[
6,
3,
1,
-1
] |
generated_output : list = take(sub_n(sort_des(reverse(sort_asc(input))),-4),36)
|
generated_output : list = take(sub_n(sort_des(reverse(sort_asc([-3, 2, -1, -5]))),-4),36)
|
[
-3,
2,
-1,
-5
] |
input : list = [3, 0, -1, -5, 2]
output : list = [-121, -21, 4, 54, 79]
|
[
-121,
-21,
4,
54,
79
] |
generated_output : list = sort_asc(sub_n(reverse(mul_n(mul_n(input,-5),-5)),-4))
|
generated_output : list = sort_asc(sub_n(reverse(mul_n(mul_n([3, 0, -1, -5, 2],-5),-5)),-4))
|
[
3,
0,
-1,
-5,
2
] |
input : list = [0, 4, 1, 2]
output : list = [-9]
|
[
-9
] |
generated_output : list = add_n(sub_n(sub_n(add_n(take(input,1),-2),1),3),-3)
|
generated_output : list = add_n(sub_n(sub_n(add_n(take([0, 4, 1, 2],1),-2),1),3),-3)
|
[
0,
4,
1,
2
] |
input : list = [-2, 5, -3]
output : list = [5]
|
[
5
] |
generated_output : list = drop(sort_asc(input),2)
|
generated_output : list = drop(sort_asc([-2, 5, -3]),2)
|
[
-2,
5,
-3
] |
input : list = [-4, -1, -1, 3]
output : list = [2, 2, -6]
|
[
2,
2,
-6
] |
generated_output : list = drop(mul_n(sort_asc(input),-2),1)
|
generated_output : list = drop(mul_n(sort_asc([-4, -1, -1, 3]),-2),1)
|
[
-4,
-1,
-1,
3
] |
input : list = [-1, 2, 3, 0, -1]
output : list = [6, 5, 3, 2, 2]
|
[
6,
5,
3,
2,
2
] |
generated_output : list = add_n(sort_des(input),3)
|
generated_output : list = add_n(sort_des([-1, 2, 3, 0, -1]),3)
|
[
-1,
2,
3,
0,
-1
] |
input : list = [2, -5, -3, 4, -3, 0]
output : list = [-6, -4, -4, -1, 1, 3]
|
[
-6,
-4,
-4,
-1,
1,
3
] |
generated_output : list = reverse(add_n(add_n(reverse(sort_asc(input)),4),-5))
|
generated_output : list = reverse(add_n(add_n(reverse(sort_asc([2, -5, -3, 4, -3, 0])),4),-5))
|
[
2,
-5,
-3,
4,
-3,
0
] |
input : list = [-4, 1, 0, -1, -5]
output : list = [15, 12, 3, 0, -3]
|
[
15,
12,
3,
0,
-3
] |
generated_output : list = sort_des(mul_n(reverse(input),-3))
|
generated_output : list = sort_des(mul_n(reverse([-4, 1, 0, -1, -5]),-3))
|
[
-4,
1,
0,
-1,
-5
] |
input : list = [2, -2, -4]
output : list = [-4, -2, 2]
|
[
-4,
-2,
2
] |
generated_output : list = sort_asc(reverse(input))
|
generated_output : list = sort_asc(reverse([2, -2, -4]))
|
[
2,
-2,
-4
] |
input : list = [0, 0, -1]
output : list = [4, 5, 5]
|
[
4,
5,
5
] |
generated_output : list = mul_n(sort_asc(sort_asc(add_n(reverse(input),5))),1)
|
generated_output : list = mul_n(sort_asc(sort_asc(add_n(reverse([0, 0, -1]),5))),1)
|
[
0,
0,
-1
] |
input : list = [-1, 3, 3]
output : list = [-1, 3, 3]
|
[
-1,
3,
3
] |
generated_output : list = sort_asc(input)
|
generated_output : list = sort_asc([-1, 3, 3])
|
[
-1,
3,
3
] |
input : list = [-5, -5, -2, -5, 0]
output : list = [-2, -4, -7, -7, -7]
|
[
-2,
-4,
-7,
-7,
-7
] |
generated_output : list = sort_des(sub_n(sub_n(reverse(reverse(input)),-3),5))
|
generated_output : list = sort_des(sub_n(sub_n(reverse(reverse([-5, -5, -2, -5, 0])),-3),5))
|
[
-5,
-5,
-2,
-5,
0
] |
input : list = [2, -2, -5, 4, -4, 5]
output : list = [10, 9, 7, 3, 1, 0]
|
[
10,
9,
7,
3,
1,
0
] |
generated_output : list = reverse(add_n(sort_asc(input),5))
|
generated_output : list = reverse(add_n(sort_asc([2, -2, -5, 4, -4, 5]),5))
|
[
2,
-2,
-5,
4,
-4,
5
] |
input : list = [-4, 3, -4, 1, -1, -4]
output : list = [4, 4, 4, 16, 24, 32]
|
[
4,
4,
4,
16,
24,
32
] |
generated_output : list = sort_asc(reverse(mul_n(sort_des(sub_n(input,-5)),4)))
|
generated_output : list = sort_asc(reverse(mul_n(sort_des(sub_n([-4, 3, -4, 1, -1, -4],-5)),4)))
|
[
-4,
3,
-4,
1,
-1,
-4
] |
input : list = [-5, 5, 2, 3, 2, 1]
output : list = [-60, -44, -36, -36, -28, 20]
|
[
-60,
-44,
-36,
-36,
-28,
20
] |
generated_output : list = sort_asc(mul_n(reverse(sub_n(mul_n(input,2),-5)),-4))
|
generated_output : list = sort_asc(mul_n(reverse(sub_n(mul_n([-5, 5, 2, 3, 2, 1],2),-5)),-4))
|
[
-5,
5,
2,
3,
2,
1
] |
input : list = [-1, -3, 5, 5]
output : list = [3, 1, 9, 9]
|
[
3,
1,
9,
9
] |
generated_output : list = sub_n(input,-4)
|
generated_output : list = sub_n([-1, -3, 5, 5],-4)
|
[
-1,
-3,
5,
5
] |
input : list = [1, -4, 4, 4, 2, -3]
output : list = [0, 0, -2, -3]
|
[
0,
0,
-2,
-3
] |
generated_output : list = add_n(reverse(drop(sub_n(sort_asc(input),5),2)),1)
|
generated_output : list = add_n(reverse(drop(sub_n(sort_asc([1, -4, 4, 4, 2, -3]),5),2)),1)
|
[
1,
-4,
4,
4,
2,
-3
] |
input : list = [-3, 2, 2, 0, -4, -2]
output : list = [0, -4, -2]
|
[
0,
-4,
-2
] |
generated_output : list = drop(input,3)
|
generated_output : list = drop([-3, 2, 2, 0, -4, -2],3)
|
[
-3,
2,
2,
0,
-4,
-2
] |
input : list = [2, -1, 0, 4, -3]
output : list = [2]
|
[
2
] |
generated_output : list = sort_des(take(input,1))
|
generated_output : list = sort_des(take([2, -1, 0, 4, -3],1))
|
[
2,
-1,
0,
4,
-3
] |
input : list = [-4, 1, -4, 2, 5, -2]
output : list = [18]
|
[
18
] |
generated_output : list = take(mul_n(take(sort_des(add_n(input,4)),17),2),1)
|
generated_output : list = take(mul_n(take(sort_des(add_n([-4, 1, -4, 2, 5, -2],4)),17),2),1)
|
[
-4,
1,
-4,
2,
5,
-2
] |
input : list = [-5, 1, 1, -4, 5]
output : list = [-2, -6, -6, -11, -12]
|
[
-2,
-6,
-6,
-11,
-12
] |
generated_output : list = sub_n(sub_n(sub_n(sort_des(sub_n(input,5)),3),-2),1)
|
generated_output : list = sub_n(sub_n(sub_n(sort_des(sub_n([-5, 1, 1, -4, 5],5)),3),-2),1)
|
[
-5,
1,
1,
-4,
5
] |
input : list = [-1, 4, 0, 3, 0]
output : list = [-12, -12, -21, -24]
|
[
-12,
-12,
-21,
-24
] |
generated_output : list = mul_n(add_n(sort_asc(take(drop(input,1),16)),4),-3)
|
generated_output : list = mul_n(add_n(sort_asc(take(drop([-1, 4, 0, 3, 0],1),16)),4),-3)
|
[
-1,
4,
0,
3,
0
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.