input
stringlengths 41
91
| io_out
sequence | output_masked
stringlengths 39
81
| output
stringlengths 41
100
| io_inp
sequence |
---|---|---|---|---|
input : list = [0, -4, -2, 0, 5]
output : list = [-18, -26, -22, -18, -8] | [
-18,
-26,
-22,
-18,
-8
] | generated_output : list = add_n(mul_n(mul_n(sub_n(sub_n(input,4),3),-1),-2),-4) | generated_output : list = add_n(mul_n(mul_n(sub_n(sub_n([0, -4, -2, 0, 5],4),3),-1),-2),-4) | [
0,
-4,
-2,
0,
5
] |
input : list = [1, 0, -5]
output : list = [1, 0, -5] | [
1,
0,
-5
] | generated_output : list = sort_des(input) | generated_output : list = sort_des([1, 0, -5]) | [
1,
0,
-5
] |
input : list = [-3, 4, 5]
output : list = [-1, 0, 7] | [
-1,
0,
7
] | generated_output : list = mul_n(add_n(sort_des(sub_n(sub_n(input,-2),4)),-2),-1) | generated_output : list = mul_n(add_n(sort_des(sub_n(sub_n([-3, 4, 5],-2),4)),-2),-1) | [
-3,
4,
5
] |
input : list = [5, 3, -3, 0]
output : list = [1, 4, 7, 9] | [
1,
4,
7,
9
] | generated_output : list = reverse(sort_des(sub_n(reverse(sort_asc(input)),-4))) | generated_output : list = reverse(sort_des(sub_n(reverse(sort_asc([5, 3, -3, 0])),-4))) | [
5,
3,
-3,
0
] |
input : list = [-5, 3, 1, -2, 2, -1]
output : list = [20, -20, -10, 5, -15, 0] | [
20,
-20,
-10,
5,
-15,
0
] | generated_output : list = mul_n(add_n(input,1),-5) | generated_output : list = mul_n(add_n([-5, 3, 1, -2, 2, -1],1),-5) | [
-5,
3,
1,
-2,
2,
-1
] |
input : list = [4, -2, 3, -3, 4, -4]
output : list = [12, 6, 11, 5, 12, 4] | [
12,
6,
11,
5,
12,
4
] | generated_output : list = sub_n(sub_n(add_n(sub_n(sub_n(input,-4),-5),-2),-3),2) | generated_output : list = sub_n(sub_n(add_n(sub_n(sub_n([4, -2, 3, -3, 4, -4],-4),-5),-2),-3),2) | [
4,
-2,
3,
-3,
4,
-4
] |
input : list = [5, -3, 0, 2, 3, -5]
output : list = [2, 10, 9, 7, 4, 12] | [
2,
10,
9,
7,
4,
12
] | generated_output : list = add_n(take(take(sub_n(reverse(input),-2),15),45),5) | generated_output : list = add_n(take(take(sub_n(reverse([5, -3, 0, 2, 3, -5]),-2),15),45),5) | [
5,
-3,
0,
2,
3,
-5
] |
input : list = [-2, -1, -1, 0]
output : list = [-5, -4, -4, -3] | [
-5,
-4,
-4,
-3
] | generated_output : list = add_n(sub_n(reverse(sort_des(add_n(input,-5))),3),5) | generated_output : list = add_n(sub_n(reverse(sort_des(add_n([-2, -1, -1, 0],-5))),3),5) | [
-2,
-1,
-1,
0
] |
input : list = [-2, 1, -4]
output : list = [-4, -2, 1] | [
-4,
-2,
1
] | generated_output : list = sort_asc(input) | generated_output : list = sort_asc([-2, 1, -4]) | [
-2,
1,
-4
] |
input : list = [5, -1]
output : list = [3, 9] | [
3,
9
] | generated_output : list = take(sub_n(reverse(input),-4),14) | generated_output : list = take(sub_n(reverse([5, -1]),-4),14) | [
5,
-1
] |
input : list = [-4, 2, -5, -5]
output : list = [-4] | [
-4
] | generated_output : list = take(input,1) | generated_output : list = take([-4, 2, -5, -5],1) | [
-4,
2,
-5,
-5
] |
input : list = [3, 2, -1, -1, 0, -3]
output : list = [-1, -1, -5, -13, -17] | [
-1,
-1,
-5,
-13,
-17
] | generated_output : list = drop(add_n(mul_n(sort_asc(sort_asc(input)),-4),-5),1) | generated_output : list = drop(add_n(mul_n(sort_asc(sort_asc([3, 2, -1, -1, 0, -3])),-4),-5),1) | [
3,
2,
-1,
-1,
0,
-3
] |
input : list = [-4, -5, -5]
output : list = [20, 25, 25] | [
20,
25,
25
] | generated_output : list = reverse(reverse(take(mul_n(input,-5),5))) | generated_output : list = reverse(reverse(take(mul_n([-4, -5, -5],-5),5))) | [
-4,
-5,
-5
] |
input : list = [1, -5]
output : list = [1, -5] | [
1,
-5
] | generated_output : list = take(sort_des(take(sort_asc(input),12)),28) | generated_output : list = take(sort_des(take(sort_asc([1, -5]),12)),28) | [
1,
-5
] |
input : list = [5, 3, 3, 2, 4, 4]
output : list = [4, 4] | [
4,
4
] | generated_output : list = drop(input,4) | generated_output : list = drop([5, 3, 3, 2, 4, 4],4) | [
5,
3,
3,
2,
4,
4
] |
input : list = [-1, 2, 2, -1, -3, -1]
output : list = [1, 5, 1] | [
1,
5,
1
] | generated_output : list = sub_n(reverse(reverse(mul_n(drop(input,3),-2))),1) | generated_output : list = sub_n(reverse(reverse(mul_n(drop([-1, 2, 2, -1, -3, -1],3),-2))),1) | [
-1,
2,
2,
-1,
-3,
-1
] |
input : list = [-4, -3, 0]
output : list = [-4] | [
-4
] | generated_output : list = take(input,1) | generated_output : list = take([-4, -3, 0],1) | [
-4,
-3,
0
] |
input : list = [-3, 3, 3]
output : list = [48, 48] | [
48,
48
] | generated_output : list = mul_n(mul_n(drop(input,1),-4),-4) | generated_output : list = mul_n(mul_n(drop([-3, 3, 3],1),-4),-4) | [
-3,
3,
3
] |
input : list = [-1, 3, 4, -3]
output : list = [-4, -3, 1, 3] | [
-4,
-3,
1,
3
] | generated_output : list = reverse(sort_des(mul_n(input,-1))) | generated_output : list = reverse(sort_des(mul_n([-1, 3, 4, -3],-1))) | [
-1,
3,
4,
-3
] |
input : list = [2, -2, 1, 4]
output : list = [0, 4, 1, -2] | [
0,
4,
1,
-2
] | generated_output : list = add_n(add_n(reverse(reverse(mul_n(input,-1))),1),1) | generated_output : list = add_n(add_n(reverse(reverse(mul_n([2, -2, 1, 4],-1))),1),1) | [
2,
-2,
1,
4
] |
input : list = [-1, 1, -4, 4, -4, -5]
output : list = [4, 1, -1, -4, -4, -5] | [
4,
1,
-1,
-4,
-4,
-5
] | generated_output : list = sort_des(sort_des(add_n(take(add_n(input,5),21),-5))) | generated_output : list = sort_des(sort_des(add_n(take(add_n([-1, 1, -4, 4, -4, -5],5),21),-5))) | [
-1,
1,
-4,
4,
-4,
-5
] |
input : list = [4, -4, -4, 0, -4, -4]
output : list = [-4, -4] | [
-4,
-4
] | generated_output : list = take(drop(input,4),23) | generated_output : list = take(drop([4, -4, -4, 0, -4, -4],4),23) | [
4,
-4,
-4,
0,
-4,
-4
] |
input : list = [-5, 4, 3, 2, 1]
output : list = [-3, 6] | [
-3,
6
] | generated_output : list = add_n(take(input,2),2) | generated_output : list = add_n(take([-5, 4, 3, 2, 1],2),2) | [
-5,
4,
3,
2,
1
] |
input : list = [2, 1, -5]
output : list = [-2, -8] | [
-2,
-8
] | generated_output : list = add_n(sub_n(add_n(add_n(drop(input,1),-3),-2),-5),-3) | generated_output : list = add_n(sub_n(add_n(add_n(drop([2, 1, -5],1),-3),-2),-5),-3) | [
2,
1,
-5
] |
input : list = [0, 1, -1, 0]
output : list = [3, 4] | [
3,
4
] | generated_output : list = mul_n(add_n(sort_des(reverse(take(input,2))),-4),-1) | generated_output : list = mul_n(add_n(sort_des(reverse(take([0, 1, -1, 0],2))),-4),-1) | [
0,
1,
-1,
0
] |
input : list = [4, -5, -1, 0]
output : list = [4, 0, -1, -5] | [
4,
0,
-1,
-5
] | generated_output : list = sort_des(take(sort_des(input),9)) | generated_output : list = sort_des(take(sort_des([4, -5, -1, 0]),9)) | [
4,
-5,
-1,
0
] |
input : list = [2, 1]
output : list = [11, 10] | [
11,
10
] | generated_output : list = sort_des(mul_n(add_n(sub_n(add_n(input,-4),3),-5),-1)) | generated_output : list = sort_des(mul_n(add_n(sub_n(add_n([2, 1],-4),3),-5),-1)) | [
2,
1
] |
input : list = [5, 1]
output : list = [5, 1] | [
5,
1
] | generated_output : list = reverse(mul_n(sort_asc(input),1)) | generated_output : list = reverse(mul_n(sort_asc([5, 1]),1)) | [
5,
1
] |
input : list = [-3, 4, 4, -1]
output : list = [-3, -1, 4, 4] | [
-3,
-1,
4,
4
] | generated_output : list = sort_asc(input) | generated_output : list = sort_asc([-3, 4, 4, -1]) | [
-3,
4,
4,
-1
] |
input : list = [-5, 5, -2, 2, -4]
output : list = [-3] | [
-3
] | generated_output : list = drop(sub_n(sort_asc(sub_n(drop(input,3),2)),3),1) | generated_output : list = drop(sub_n(sort_asc(sub_n(drop([-5, 5, -2, 2, -4],3),2)),3),1) | [
-5,
5,
-2,
2,
-4
] |
input : list = [-4, -5, 3, -2, -4]
output : list = [-2, -3, 5, 0, -2] | [
-2,
-3,
5,
0,
-2
] | generated_output : list = sub_n(input,-2) | generated_output : list = sub_n([-4, -5, 3, -2, -4],-2) | [
-4,
-5,
3,
-2,
-4
] |
input : list = [-2, 0, -2, 1]
output : list = [-2] | [
-2
] | generated_output : list = reverse(sort_des(sort_asc(reverse(take(input,1))))) | generated_output : list = reverse(sort_des(sort_asc(reverse(take([-2, 0, -2, 1],1))))) | [
-2,
0,
-2,
1
] |
input : list = [-1, 1, 4, 2, 5, -1]
output : list = [3, -6, -15] | [
3,
-6,
-15
] | generated_output : list = mul_n(add_n(add_n(sort_asc(drop(input,3)),-3),3),-3) | generated_output : list = mul_n(add_n(add_n(sort_asc(drop([-1, 1, 4, 2, 5, -1],3)),-3),3),-3) | [
-1,
1,
4,
2,
5,
-1
] |
input : list = [1, -2, -1, 1, 1, -1]
output : list = [9, 9, 9, 3, 3, 0] | [
9,
9,
9,
3,
3,
0
] | generated_output : list = reverse(sort_asc(mul_n(reverse(sub_n(input,-2)),3))) | generated_output : list = reverse(sort_asc(mul_n(reverse(sub_n([1, -2, -1, 1, 1, -1],-2)),3))) | [
1,
-2,
-1,
1,
1,
-1
] |
input : list = [0, 2, -4, -1]
output : list = [1, -1, -2, -5] | [
1,
-1,
-2,
-5
] | generated_output : list = sub_n(sort_des(take(sort_asc(reverse(input)),12)),1) | generated_output : list = sub_n(sort_des(take(sort_asc(reverse([0, 2, -4, -1])),12)),1) | [
0,
2,
-4,
-1
] |
input : list = [-5, -1, -2, -5, -4, 3]
output : list = [40, 40, 32, 16, 8, -24] | [
40,
40,
32,
16,
8,
-24
] | generated_output : list = sort_des(mul_n(take(mul_n(sort_des(input),-2),28),4)) | generated_output : list = sort_des(mul_n(take(mul_n(sort_des([-5, -1, -2, -5, -4, 3]),-2),28),4)) | [
-5,
-1,
-2,
-5,
-4,
3
] |
input : list = [5, -5, 3, -3]
output : list = [-2, 4, -4, 6] | [
-2,
4,
-4,
6
] | generated_output : list = reverse(add_n(sub_n(add_n(input,-3),-5),-1)) | generated_output : list = reverse(add_n(sub_n(add_n([5, -5, 3, -3],-3),-5),-1)) | [
5,
-5,
3,
-3
] |
input : list = [-5, 4, 5, 2, 3]
output : list = [-8, -1, 0, 1, 2] | [
-8,
-1,
0,
1,
2
] | generated_output : list = add_n(sort_asc(sort_asc(sort_des(add_n(input,-2)))),-1) | generated_output : list = add_n(sort_asc(sort_asc(sort_des(add_n([-5, 4, 5, 2, 3],-2)))),-1) | [
-5,
4,
5,
2,
3
] |
input : list = [-3, -4, 1, -2, -1]
output : list = [-20, -10, -5, 0, 5] | [
-20,
-10,
-5,
0,
5
] | generated_output : list = mul_n(sort_des(sub_n(sub_n(input,-4),1)),-5) | generated_output : list = mul_n(sort_des(sub_n(sub_n([-3, -4, 1, -2, -1],-4),1)),-5) | [
-3,
-4,
1,
-2,
-1
] |
input : list = [-5, 4, 4, 3, -4]
output : list = [-1, 6, 7, 7] | [
-1,
6,
7,
7
] | generated_output : list = reverse(take(sort_des(add_n(drop(input,1),3)),16)) | generated_output : list = reverse(take(sort_des(add_n(drop([-5, 4, 4, 3, -4],1),3)),16)) | [
-5,
4,
4,
3,
-4
] |
input : list = [-4, 4, 2, -3, 4, 3]
output : list = [4, 4, 3, 2, -3, -4] | [
4,
4,
3,
2,
-3,
-4
] | generated_output : list = sort_des(sort_asc(sort_asc(sort_des(input)))) | generated_output : list = sort_des(sort_asc(sort_asc(sort_des([-4, 4, 2, -3, 4, 3])))) | [
-4,
4,
2,
-3,
4,
3
] |
input : list = [3, 0, -3]
output : list = [3] | [
3
] | generated_output : list = take(input,1) | generated_output : list = take([3, 0, -3],1) | [
3,
0,
-3
] |
input : list = [5, -5, -3, -5]
output : list = [-9, -9, -3, 21] | [
-9,
-9,
-3,
21
] | generated_output : list = mul_n(mul_n(sort_asc(reverse(add_n(input,2))),-1),-3) | generated_output : list = mul_n(mul_n(sort_asc(reverse(add_n([5, -5, -3, -5],2))),-1),-3) | [
5,
-5,
-3,
-5
] |
input : list = [-3, -3, 0, -2, -4]
output : list = [-2, -8, -4, 0] | [
-2,
-8,
-4,
0
] | generated_output : list = mul_n(take(add_n(drop(input,1),4),25),-2) | generated_output : list = mul_n(take(add_n(drop([-3, -3, 0, -2, -4],1),4),25),-2) | [
-3,
-3,
0,
-2,
-4
] |
input : list = [2, 2, -5, 3, 4, 1]
output : list = [-4, 2, 3, 3, 4, 5] | [
-4,
2,
3,
3,
4,
5
] | generated_output : list = sort_asc(sort_des(sub_n(sort_des(add_n(input,-2)),-3))) | generated_output : list = sort_asc(sort_des(sub_n(sort_des(add_n([2, 2, -5, 3, 4, 1],-2)),-3))) | [
2,
2,
-5,
3,
4,
1
] |
input : list = [-1, 2]
output : list = [0, -9] | [
0,
-9
] | generated_output : list = reverse(take(sub_n(reverse(mul_n(input,-3)),3),5)) | generated_output : list = reverse(take(sub_n(reverse(mul_n([-1, 2],-3)),3),5)) | [
-1,
2
] |
input : list = [-2, 2, 5, 1, 0]
output : list = [-18] | [
-18
] | generated_output : list = sort_asc(mul_n(mul_n(take(take(input,1),14),-3),-3)) | generated_output : list = sort_asc(mul_n(mul_n(take(take([-2, 2, 5, 1, 0],1),14),-3),-3)) | [
-2,
2,
5,
1,
0
] |
input : list = [4, 1, 1, 4, -5]
output : list = [4, 1] | [
4,
1
] | generated_output : list = take(input,2) | generated_output : list = take([4, 1, 1, 4, -5],2) | [
4,
1,
1,
4,
-5
] |
input : list = [-5, -4, 5, -4, -2, 0]
output : list = [-5, -4] | [
-5,
-4
] | generated_output : list = take(input,2) | generated_output : list = take([-5, -4, 5, -4, -2, 0],2) | [
-5,
-4,
5,
-4,
-2,
0
] |
input : list = [-5, -3, 3]
output : list = [-24, -18, 0] | [
-24,
-18,
0
] | generated_output : list = take(take(mul_n(sort_asc(add_n(input,-3)),3),38),5) | generated_output : list = take(take(mul_n(sort_asc(add_n([-5, -3, 3],-3)),3),38),5) | [
-5,
-3,
3
] |
input : list = [-5, -3, -2, 2, 2]
output : list = [-6, 0, 3, 15, 15] | [
-6,
0,
3,
15,
15
] | generated_output : list = mul_n(sub_n(sub_n(sub_n(add_n(input,-3),-5),2),-3),3) | generated_output : list = mul_n(sub_n(sub_n(sub_n(add_n([-5, -3, -2, 2, 2],-3),-5),2),-3),3) | [
-5,
-3,
-2,
2,
2
] |
input : list = [1, -2, -3, -2]
output : list = [1, 0] | [
1,
0
] | generated_output : list = sort_des(add_n(reverse(drop(input,2)),3)) | generated_output : list = sort_des(add_n(reverse(drop([1, -2, -3, -2],2)),3)) | [
1,
-2,
-3,
-2
] |
input : list = [-4, 0, 4]
output : list = [-1, 3, 7] | [
-1,
3,
7
] | generated_output : list = take(add_n(sort_asc(mul_n(sort_des(input),1)),3),29) | generated_output : list = take(add_n(sort_asc(mul_n(sort_des([-4, 0, 4]),1)),3),29) | [
-4,
0,
4
] |
input : list = [-2, 5, 1, -5, 3, -2]
output : list = [1, 15, 7, -5, 11, 1] | [
1,
15,
7,
-5,
11,
1
] | generated_output : list = take(sub_n(take(mul_n(sub_n(input,-4),2),9),3),45) | generated_output : list = take(sub_n(take(mul_n(sub_n([-2, 5, 1, -5, 3, -2],-4),2),9),3),45) | [
-2,
5,
1,
-5,
3,
-2
] |
input : list = [-4, -1, -1, -4, -2, 5]
output : list = [8, 2, 2, 1, -1, -1] | [
8,
2,
2,
1,
-1,
-1
] | generated_output : list = sort_des(add_n(add_n(sort_asc(reverse(input)),5),-2)) | generated_output : list = sort_des(add_n(add_n(sort_asc(reverse([-4, -1, -1, -4, -2, 5])),5),-2)) | [
-4,
-1,
-1,
-4,
-2,
5
] |
input : list = [-5, 2, 5, 2]
output : list = [-36, -24, -24, 4] | [
-36,
-24,
-24,
4
] | generated_output : list = mul_n(sort_asc(mul_n(take(add_n(input,4),19),-1)),4) | generated_output : list = mul_n(sort_asc(mul_n(take(add_n([-5, 2, 5, 2],4),19),-1)),4) | [
-5,
2,
5,
2
] |
input : list = [1, 0, 3]
output : list = [2, 0, -1] | [
2,
0,
-1
] | generated_output : list = sort_des(take(add_n(sub_n(input,4),3),24)) | generated_output : list = sort_des(take(add_n(sub_n([1, 0, 3],4),3),24)) | [
1,
0,
3
] |
input : list = [2, -4, 3, 2, -2]
output : list = [-8, -6, -2, -2, -1] | [
-8,
-6,
-2,
-2,
-1
] | generated_output : list = sub_n(take(sub_n(take(sort_asc(input),20),2),7),2) | generated_output : list = sub_n(take(sub_n(take(sort_asc([2, -4, 3, 2, -2]),20),2),7),2) | [
2,
-4,
3,
2,
-2
] |
input : list = [0, 0, 1, 3, -1]
output : list = [1, -1, -2, -2, -3] | [
1,
-1,
-2,
-2,
-3
] | generated_output : list = sort_des(reverse(take(sub_n(input,2),9))) | generated_output : list = sort_des(reverse(take(sub_n([0, 0, 1, 3, -1],2),9))) | [
0,
0,
1,
3,
-1
] |
input : list = [-5, -4]
output : list = [1, 0] | [
1,
0
] | generated_output : list = sort_des(sub_n(sort_asc(sub_n(add_n(input,3),3)),-5)) | generated_output : list = sort_des(sub_n(sort_asc(sub_n(add_n([-5, -4],3),3)),-5)) | [
-5,
-4
] |
input : list = [-2, 1, 4, -2, -4]
output : list = [-6, -3, -9, -11] | [
-6,
-3,
-9,
-11
] | generated_output : list = add_n(sub_n(drop(input,1),5),-2) | generated_output : list = add_n(sub_n(drop([-2, 1, 4, -2, -4],1),5),-2) | [
-2,
1,
4,
-2,
-4
] |
input : list = [0, 0, -5]
output : list = [-7, -2, -2] | [
-7,
-2,
-2
] | generated_output : list = sort_asc(reverse(add_n(sort_asc(sort_des(input)),-2))) | generated_output : list = sort_asc(reverse(add_n(sort_asc(sort_des([0, 0, -5])),-2))) | [
0,
0,
-5
] |
input : list = [0, 2, -3, 0, 0, 2]
output : list = [-3, 0, 0, 0, 2, 2] | [
-3,
0,
0,
0,
2,
2
] | generated_output : list = take(sort_asc(input),23) | generated_output : list = take(sort_asc([0, 2, -3, 0, 0, 2]),23) | [
0,
2,
-3,
0,
0,
2
] |
input : list = [-1, 3, 4, -2, 5, 4]
output : list = [0, 1, 5, 6, 6, 7] | [
0,
1,
5,
6,
6,
7
] | generated_output : list = sort_asc(add_n(reverse(input),2)) | generated_output : list = sort_asc(add_n(reverse([-1, 3, 4, -2, 5, 4]),2)) | [
-1,
3,
4,
-2,
5,
4
] |
input : list = [5, 0]
output : list = [6, 1] | [
6,
1
] | generated_output : list = add_n(sort_des(sort_des(take(sub_n(input,2),13))),3) | generated_output : list = add_n(sort_des(sort_des(take(sub_n([5, 0],2),13))),3) | [
5,
0
] |
input : list = [1, -4, 0]
output : list = [-5, -1] | [
-5,
-1
] | generated_output : list = add_n(drop(input,1),-1) | generated_output : list = add_n(drop([1, -4, 0],1),-1) | [
1,
-4,
0
] |
input : list = [2, -2]
output : list = [2, -2] | [
2,
-2
] | generated_output : list = sort_des(sort_des(take(sort_asc(sort_des(input)),2))) | generated_output : list = sort_des(sort_des(take(sort_asc(sort_des([2, -2])),2))) | [
2,
-2
] |
input : list = [4, 4, 4, 1, 3]
output : list = [12, 36, 48, 48, 48] | [
12,
36,
48,
48,
48
] | generated_output : list = mul_n(sort_des(take(sort_asc(mul_n(input,-3)),21)),-4) | generated_output : list = mul_n(sort_des(take(sort_asc(mul_n([4, 4, 4, 1, 3],-3)),21)),-4) | [
4,
4,
4,
1,
3
] |
input : list = [-1, -5, 4]
output : list = [5, 9, 14] | [
5,
9,
14
] | generated_output : list = sort_asc(add_n(sort_asc(sort_des(sub_n(input,-5))),5)) | generated_output : list = sort_asc(add_n(sort_asc(sort_des(sub_n([-1, -5, 4],-5))),5)) | [
-1,
-5,
4
] |
input : list = [2, -3, -5, -2, 4]
output : list = [5, -1] | [
5,
-1
] | generated_output : list = add_n(reverse(add_n(drop(input,3),3)),-2) | generated_output : list = add_n(reverse(add_n(drop([2, -3, -5, -2, 4],3),3)),-2) | [
2,
-3,
-5,
-2,
4
] |
input : list = [2, 4, -1, -3, -5, -3]
output : list = [-21, -11, 4, 14, 14, 24] | [
-21,
-11,
4,
14,
14,
24
] | generated_output : list = sub_n(mul_n(reverse(sort_asc(sort_asc(input))),-5),1) | generated_output : list = sub_n(mul_n(reverse(sort_asc(sort_asc([2, 4, -1, -3, -5, -3]))),-5),1) | [
2,
4,
-1,
-3,
-5,
-3
] |
input : list = [0, -2, 5, -4, -3]
output : list = [0] | [
0
] | generated_output : list = take(input,1) | generated_output : list = take([0, -2, 5, -4, -3],1) | [
0,
-2,
5,
-4,
-3
] |
input : list = [4, 4, -2]
output : list = [-9, -9, -15] | [
-9,
-9,
-15
] | generated_output : list = add_n(sort_des(take(add_n(add_n(input,-5),-3),20)),-5) | generated_output : list = add_n(sort_des(take(add_n(add_n([4, 4, -2],-5),-3),20)),-5) | [
4,
4,
-2
] |
input : list = [4, 4]
output : list = [-75, -75] | [
-75,
-75
] | generated_output : list = sort_asc(mul_n(sort_des(add_n(mul_n(input,-4),1)),5)) | generated_output : list = sort_asc(mul_n(sort_des(add_n(mul_n([4, 4],-4),1)),5)) | [
4,
4
] |
input : list = [-1, 3, -5]
output : list = [-1, -5, -9] | [
-1,
-5,
-9
] | generated_output : list = add_n(reverse(sub_n(sort_asc(sub_n(input,3)),-3)),-4) | generated_output : list = add_n(reverse(sub_n(sort_asc(sub_n([-1, 3, -5],3)),-3)),-4) | [
-1,
3,
-5
] |
input : list = [-4, -2, 4]
output : list = [2, -4, -6] | [
2,
-4,
-6
] | generated_output : list = reverse(take(sub_n(sub_n(add_n(input,-1),3),-2),19)) | generated_output : list = reverse(take(sub_n(sub_n(add_n([-4, -2, 4],-1),3),-2),19)) | [
-4,
-2,
4
] |
input : list = [5, -4, 5, -3]
output : list = [10, 10, 2, 1] | [
10,
10,
2,
1
] | generated_output : list = reverse(reverse(sort_des(sort_asc(add_n(input,5))))) | generated_output : list = reverse(reverse(sort_des(sort_asc(add_n([5, -4, 5, -3],5))))) | [
5,
-4,
5,
-3
] |
input : list = [-2, -2, -3, 4, -1]
output : list = [-8, 2, 4, 4, 6] | [
-8,
2,
4,
4,
6
] | generated_output : list = sort_asc(take(sort_des(mul_n(reverse(input),-2)),9)) | generated_output : list = sort_asc(take(sort_des(mul_n(reverse([-2, -2, -3, 4, -1]),-2)),9)) | [
-2,
-2,
-3,
4,
-1
] |
input : list = [-2, -2, 2]
output : list = [-3, -3, 1] | [
-3,
-3,
1
] | generated_output : list = sort_asc(add_n(take(take(sort_des(input),6),5),-1)) | generated_output : list = sort_asc(add_n(take(take(sort_des([-2, -2, 2]),6),5),-1)) | [
-2,
-2,
2
] |
input : list = [4, -2, -1, -2, -2, -4]
output : list = [-4, -2, -2, -1, -2, 4] | [
-4,
-2,
-2,
-1,
-2,
4
] | generated_output : list = reverse(input) | generated_output : list = reverse([4, -2, -1, -2, -2, -4]) | [
4,
-2,
-1,
-2,
-2,
-4
] |
input : list = [-1, -4, 5, 5]
output : list = [-24, -9, 21, 21] | [
-24,
-9,
21,
21
] | generated_output : list = sub_n(sort_asc(mul_n(input,5)),4) | generated_output : list = sub_n(sort_asc(mul_n([-1, -4, 5, 5],5)),4) | [
-1,
-4,
5,
5
] |
input : list = [-4, -5, 3, 5, -3]
output : list = [0, 1, 2, 8, 10] | [
0,
1,
2,
8,
10
] | generated_output : list = take(reverse(add_n(sort_des(sort_asc(input)),5)),37) | generated_output : list = take(reverse(add_n(sort_des(sort_asc([-4, -5, 3, 5, -3])),5)),37) | [
-4,
-5,
3,
5,
-3
] |
input : list = [-3, 2, 5, -1, 0, -3]
output : list = [-6, 4, 10, -2, 0, -6] | [
-6,
4,
10,
-2,
0,
-6
] | generated_output : list = mul_n(input,2) | generated_output : list = mul_n([-3, 2, 5, -1, 0, -3],2) | [
-3,
2,
5,
-1,
0,
-3
] |
input : list = [-1, 3, 4, -4, 3, -3]
output : list = [-4, 0, 1, -7, 0, -6] | [
-4,
0,
1,
-7,
0,
-6
] | generated_output : list = sub_n(input,3) | generated_output : list = sub_n([-1, 3, 4, -4, 3, -3],3) | [
-1,
3,
4,
-4,
3,
-3
] |
input : list = [3, -4, -1]
output : list = [-4, -1, 3] | [
-4,
-1,
3
] | generated_output : list = reverse(sort_des(take(take(sort_des(input),18),15))) | generated_output : list = reverse(sort_des(take(take(sort_des([3, -4, -1]),18),15))) | [
3,
-4,
-1
] |
input : list = [-5, -1]
output : list = [2, -2] | [
2,
-2
] | generated_output : list = reverse(take(take(take(add_n(input,3),3),21),9)) | generated_output : list = reverse(take(take(take(add_n([-5, -1],3),3),21),9)) | [
-5,
-1
] |
input : list = [-1, 0, 5, 1]
output : list = [3, -1, -2, -3] | [
3,
-1,
-2,
-3
] | generated_output : list = sort_des(sub_n(add_n(reverse(input),3),5)) | generated_output : list = sort_des(sub_n(add_n(reverse([-1, 0, 5, 1]),3),5)) | [
-1,
0,
5,
1
] |
input : list = [-3, 1, 5]
output : list = [-5] | [
-5
] | generated_output : list = sort_des(sub_n(sub_n(sort_des(take(input,1)),-1),3)) | generated_output : list = sort_des(sub_n(sub_n(sort_des(take([-3, 1, 5],1)),-1),3)) | [
-3,
1,
5
] |
input : list = [3, -1, -2]
output : list = [0, -2, -10] | [
0,
-2,
-10
] | generated_output : list = mul_n(take(sort_asc(add_n(add_n(input,3),-1)),9),-2) | generated_output : list = mul_n(take(sort_asc(add_n(add_n([3, -1, -2],3),-1)),9),-2) | [
3,
-1,
-2
] |
input : list = [-3, -3, 0, 5, -3]
output : list = [5, -3] | [
5,
-3
] | generated_output : list = reverse(sort_asc(drop(input,3))) | generated_output : list = reverse(sort_asc(drop([-3, -3, 0, 5, -3],3))) | [
-3,
-3,
0,
5,
-3
] |
input : list = [-3, 2, 4, -3, -3, -4]
output : list = [4, 2, -3, -3, -3, -4] | [
4,
2,
-3,
-3,
-3,
-4
] | generated_output : list = sort_des(sort_des(reverse(input))) | generated_output : list = sort_des(sort_des(reverse([-3, 2, 4, -3, -3, -4]))) | [
-3,
2,
4,
-3,
-3,
-4
] |
input : list = [2, 2]
output : list = [-6, -6] | [
-6,
-6
] | generated_output : list = sort_asc(mul_n(sort_des(sort_asc(sort_des(input))),-3)) | generated_output : list = sort_asc(mul_n(sort_des(sort_asc(sort_des([2, 2]))),-3)) | [
2,
2
] |
input : list = [-1, -4, 4, -3]
output : list = [4, -1, -3, -4] | [
4,
-1,
-3,
-4
] | generated_output : list = sort_des(add_n(sub_n(add_n(sort_des(input),3),1),-2)) | generated_output : list = sort_des(add_n(sub_n(add_n(sort_des([-1, -4, 4, -3]),3),1),-2)) | [
-1,
-4,
4,
-3
] |
input : list = [-3, 2, 5, -4, -3]
output : list = [5, 2, -3, -3, -4] | [
5,
2,
-3,
-3,
-4
] | generated_output : list = sort_des(take(sort_asc(reverse(reverse(input))),30)) | generated_output : list = sort_des(take(sort_asc(reverse(reverse([-3, 2, 5, -4, -3]))),30)) | [
-3,
2,
5,
-4,
-3
] |
input : list = [0, -1]
output : list = [0, 1] | [
0,
1
] | generated_output : list = mul_n(input,-1) | generated_output : list = mul_n([0, -1],-1) | [
0,
-1
] |
input : list = [-3, 5, -5]
output : list = [7, -1, -3] | [
7,
-1,
-3
] | generated_output : list = sub_n(reverse(sub_n(take(sort_asc(input),6),-1)),-1) | generated_output : list = sub_n(reverse(sub_n(take(sort_asc([-3, 5, -5]),6),-1)),-1) | [
-3,
5,
-5
] |
input : list = [0, -2, 2, -3]
output : list = [16, 22, 10, 25] | [
16,
22,
10,
25
] | generated_output : list = sub_n(take(mul_n(take(add_n(input,-4),21),-3),30),-4) | generated_output : list = sub_n(take(mul_n(take(add_n([0, -2, 2, -3],-4),21),-3),30),-4) | [
0,
-2,
2,
-3
] |
input : list = [5, 4, 1, 2, -5]
output : list = [3, 2, 0, -1, -7] | [
3,
2,
0,
-1,
-7
] | generated_output : list = reverse(sort_asc(take(add_n(sub_n(input,-2),-4),11))) | generated_output : list = reverse(sort_asc(take(add_n(sub_n([5, 4, 1, 2, -5],-2),-4),11))) | [
5,
4,
1,
2,
-5
] |
input : list = [-1, 1, 1]
output : list = [6] | [
6
] | generated_output : list = add_n(mul_n(mul_n(take(take(input,1),9),2),-1),4) | generated_output : list = add_n(mul_n(mul_n(take(take([-1, 1, 1],1),9),2),-1),4) | [
-1,
1,
1
] |
input : list = [-3, 0, -5, 5, 3, -2]
output : list = [-5, -2, 0, 3, 5] | [
-5,
-2,
0,
3,
5
] | generated_output : list = sort_asc(drop(input,1)) | generated_output : list = sort_asc(drop([-3, 0, -5, 5, 3, -2],1)) | [
-3,
0,
-5,
5,
3,
-2
] |
Subsets and Splits