input
stringlengths 653
659
| output
sequencelengths 1
12
| id
stringlengths 41
41
|
---|---|---|
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [43, 8, 9, 46, 29, 2, 37, 22, 35, 45, 32, 21, 33, 3, 30, 44, 10, 18, 42, 39], target=37
Output:
| [
"[8, 29]",
"[29, 8]",
"[2, 35]",
"[35, 2]"
] | task1087-0308d48f48d84e8f8c241bbd96ebf066 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [26, 42, 1, 46, 15, 11, 23, 18, 4, 25, 39, 49, 30, 47, 13, 9, 29, 19, 2, 35], target=59
Output:
| [
"[46, 13]",
"[13, 46]",
"[30, 29]",
"[29, 30]"
] | task1087-da1b07352e6848c68db60f2d8f6ea4c8 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [44, 17, 10, 41, 21, 36, 29, 1, 18, 45, 19, 23, 40, 6, 28, 49, 25, 30, 22, 24], target=10
Output:
| [
"[]"
] | task1087-333dd8c94b2e41f78e855f2241337bed |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [17, 30, 8, 1, 12, 26, 35, 3, 37, 39, 38, 11, 14, 16, 6, 40, 25, 19, 42, 4], target=77
Output:
| [
"[39, 38]",
"[38, 39]",
"[37, 40]",
"[40, 37]",
"[35, 42]",
"[42, 35]"
] | task1087-8c4452ca425b40a0881971609dab5dbc |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [31, 29, 8, 22, 7, 2, 48, 35, 12, 13, 16, 34, 17, 40, 1, 45, 43, 39, 20, 26], target=39
Output:
| [
"[31, 8]",
"[8, 31]",
"[22, 17]",
"[17, 22]",
"[13, 26]",
"[26, 13]"
] | task1087-60729bf86d5a41dcba131dc17ea0dcef |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [20, 46, 12, 22, 35, 6, 4, 39, 14, 26, 10, 34, 41, 31, 43, 25, 7, 9, 28, 42], target=10
Output:
| [
"[6, 4]",
"[4, 6]"
] | task1087-6f8cff78d3e3473789b71cc6fa67cd32 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [29, 6, 2, 15, 49, 13, 36, 44, 43, 21, 1, 30, 10, 23, 12, 48, 41, 47, 32, 39], target=83
Output:
| [
"[36, 47]",
"[47, 36]",
"[44, 39]",
"[39, 44]"
] | task1087-9789b5b198d441cebc0c4411415f91a6 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [10, 14, 27, 9, 46, 30, 17, 34, 31, 26, 7, 16, 47, 11, 22, 25, 36, 44, 23, 42], target=85
Output:
| [
"[]"
] | task1087-7ed01057fc5d497db919e7f24f5375cd |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [36, 19, 21, 42, 8, 31, 25, 43, 4, 2, 13, 3, 1, 11, 17, 10, 45, 12, 30, 23], target=29
Output:
| [
"[21, 8]",
"[8, 21]",
"[25, 4]",
"[4, 25]",
"[19, 10]",
"[10, 19]",
"[17, 12]",
"[12, 17]"
] | task1087-7e117e8f77584689bef576952e233223 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [6, 31, 38, 11, 30, 19, 12, 42, 5, 40, 26, 7, 44, 29, 24, 13, 10, 2, 35, 48], target=55
Output:
| [
"[11, 44]",
"[44, 11]",
"[26, 29]",
"[29, 26]",
"[31, 24]",
"[24, 31]",
"[42, 13]",
"[13, 42]",
"[7, 48]",
"[48, 7]"
] | task1087-b1229b6b2db54cc8a016db87fd1d0458 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [22, 37, 32, 28, 7, 35, 19, 3, 16, 6, 12, 8, 41, 13, 4, 44, 33, 42, 10, 1], target=78
Output:
| [
"[37, 41]",
"[41, 37]"
] | task1087-7c68b995b0f643e69891642faf57ad60 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [47, 29, 41, 34, 25, 11, 44, 27, 24, 3, 21, 28, 1, 49, 23, 46, 37, 26, 6, 14], target=46
Output:
| [
"[25, 21]",
"[21, 25]"
] | task1087-6d787690a8174e55b8eb45d13e0db6ab |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [30, 4, 39, 18, 25, 36, 43, 22, 13, 23, 8, 19, 49, 3, 27, 35, 28, 1, 20, 37], target=27
Output:
| [
"[4, 23]",
"[23, 4]",
"[8, 19]",
"[19, 8]"
] | task1087-e310d6e440d74e68a37548d07973eb5f |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [28, 35, 45, 4, 29, 40, 33, 44, 22, 38, 36, 37, 8, 27, 1, 34, 23, 10, 2, 3], target=36
Output:
| [
"[28, 8]",
"[8, 28]",
"[35, 1]",
"[1, 35]",
"[34, 2]",
"[2, 34]",
"[33, 3]",
"[3, 33]"
] | task1087-ce4027d256b24e57886316c46195008f |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [24, 7, 48, 44, 20, 5, 47, 49, 27, 6, 23, 42, 11, 1, 3, 9, 35, 16, 33, 22], target=60
Output:
| [
"[49, 11]",
"[11, 49]",
"[44, 16]",
"[16, 44]",
"[27, 33]",
"[33, 27]"
] | task1087-1dcba564040040c58f19147ce37e15e3 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [2, 35, 38, 29, 34, 36, 4, 19, 33, 27, 14, 32, 5, 45, 1, 11, 17, 10, 25, 15], target=72
Output:
| [
"[38, 34]",
"[34, 38]",
"[27, 45]",
"[45, 27]"
] | task1087-4aa2e485814845d8a6e756ec00994ab8 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [35, 41, 6, 12, 18, 23, 2, 21, 46, 25, 5, 40, 48, 43, 49, 20, 26, 30, 27, 17], target=19
Output:
| [
"[2, 17]",
"[17, 2]"
] | task1087-15cb8ba92d36462f84305c4e998e497d |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [22, 9, 29, 20, 3, 21, 30, 35, 14, 42, 7, 6, 31, 10, 2, 27, 47, 38, 11, 41], target=87
Output:
| [
"[]"
] | task1087-f2e3d0654e0144faba2e323d9cb22734 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [15, 1, 3, 11, 8, 40, 4, 21, 17, 30, 23, 9, 45, 5, 25, 18, 42, 39, 22, 2], target=38
Output:
| [
"[21, 17]",
"[17, 21]",
"[8, 30]",
"[30, 8]",
"[15, 23]",
"[23, 15]"
] | task1087-7af1b515265948d0b24d153c93f3d3b4 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [20, 21, 23, 47, 16, 6, 40, 45, 44, 17, 9, 33, 25, 39, 35, 27, 34, 13, 37, 10], target=30
Output:
| [
"[21, 9]",
"[9, 21]",
"[17, 13]",
"[13, 17]",
"[20, 10]",
"[10, 20]"
] | task1087-634fb42c506d4f13ac9c1f3aa244eeeb |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [42, 3, 36, 13, 28, 34, 19, 4, 47, 21, 40, 15, 22, 32, 43, 24, 9, 16, 23, 41], target=93
Output:
| [
"[]"
] | task1087-e40611a144104eebb21851c281c98641 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [11, 30, 12, 43, 28, 31, 17, 13, 46, 7, 34, 39, 2, 32, 27, 19, 22, 38, 14, 49], target=47
Output:
| [
"[30, 17]",
"[17, 30]",
"[13, 34]",
"[34, 13]",
"[28, 19]",
"[19, 28]"
] | task1087-adfb7e1f41a440dc8a55da9f5c1584fe |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [11, 14, 8, 40, 31, 17, 19, 26, 49, 34, 27, 15, 4, 7, 41, 38, 30, 42, 36, 23], target=96
Output:
| [
"[]"
] | task1087-f4618d7de97a4743a42eddb4a272f90f |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [49, 28, 13, 32, 24, 22, 2, 7, 37, 29, 31, 39, 17, 44, 1, 38, 23, 26, 20, 9], target=44
Output:
| [
"[7, 37]",
"[37, 7]",
"[13, 31]",
"[31, 13]",
"[24, 20]",
"[20, 24]"
] | task1087-b132106d51574f448b966f363ffd8321 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [41, 5, 47, 7, 6, 45, 37, 31, 13, 40, 22, 17, 15, 21, 19, 24, 9, 23, 36, 29], target=84
Output:
| [
"[47, 37]",
"[37, 47]"
] | task1087-28e05ac093374eb1b5bda8c5a9d0f7b1 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [22, 23, 45, 37, 25, 10, 2, 18, 17, 20, 3, 34, 13, 21, 28, 39, 31, 43, 33, 40], target=100
Output:
| [
"[]"
] | task1087-204486702ea842f0874e29a03147ca64 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [39, 25, 38, 1, 7, 18, 47, 17, 49, 13, 5, 3, 8, 31, 16, 29, 43, 14, 36, 30], target=33
Output:
| [
"[25, 8]",
"[8, 25]",
"[17, 16]",
"[16, 17]",
"[3, 30]",
"[30, 3]"
] | task1087-d3a49bb8d8f0434683d0096a02a5ed2f |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [42, 22, 36, 49, 31, 33, 27, 24, 37, 26, 34, 46, 16, 29, 40, 41, 2, 39, 11, 17], target=88
Output:
| [
"[42, 46]",
"[46, 42]",
"[49, 39]",
"[39, 49]"
] | task1087-78cbc45cf8934f04955691034d57a882 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [36, 18, 12, 48, 39, 30, 19, 1, 34, 21, 17, 49, 44, 37, 47, 6, 26, 2, 28, 23], target=29
Output:
| [
"[12, 17]",
"[17, 12]",
"[1, 28]",
"[28, 1]",
"[6, 23]",
"[23, 6]"
] | task1087-dd79da856f014902bf87d6b39a3cdc29 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [35, 31, 33, 45, 20, 30, 17, 25, 18, 49, 10, 16, 8, 44, 48, 21, 37, 13, 5, 27], target=99
Output:
| [
"[]"
] | task1087-b058ff7a78da4f20923b6eb5b662286d |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [41, 35, 1, 4, 23, 37, 21, 9, 8, 27, 49, 15, 14, 7, 25, 30, 29, 46, 11, 5], target=89
Output:
| [
"[]"
] | task1087-b7668345a8b446f0ad23482cf342fc27 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [8, 36, 6, 1, 11, 15, 7, 24, 25, 42, 44, 35, 26, 38, 10, 4, 23, 34, 30, 17], target=85
Output:
| [
"[]"
] | task1087-f865dfe8ff2540f68a00a3df250c9a16 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [26, 3, 9, 6, 40, 30, 31, 12, 18, 45, 16, 23, 14, 1, 21, 44, 35, 19, 2, 43], target=77
Output:
| [
"[]"
] | task1087-388259669fa44ac092470923f04f44cb |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [44, 30, 23, 28, 7, 34, 8, 27, 3, 22, 42, 4, 25, 19, 2, 33, 36, 26, 15, 31], target=99
Output:
| [
"[]"
] | task1087-ad989bae84624868a4915b6c40bb05fe |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [44, 26, 23, 49, 1, 14, 45, 2, 27, 34, 20, 12, 16, 36, 3, 6, 21, 4, 35, 9], target=100
Output:
| [
"[]"
] | task1087-e7eedf004f664deca9c1e4fd72e7aaea |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [47, 6, 11, 42, 37, 18, 29, 19, 25, 4, 10, 44, 23, 9, 5, 21, 30, 31, 1, 49], target=100
Output:
| [
"[]"
] | task1087-4a9b7daea4b04546b771fea2b42544e8 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [16, 37, 21, 3, 22, 31, 30, 35, 25, 41, 48, 7, 15, 27, 38, 33, 46, 12, 28, 1], target=57
Output:
| [
"[22, 35]",
"[35, 22]",
"[16, 41]",
"[41, 16]",
"[30, 27]",
"[27, 30]"
] | task1087-d7a0ea39525342c093297b09f4ac3751 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [26, 44, 13, 17, 14, 42, 35, 16, 27, 33, 36, 4, 30, 37, 15, 11, 9, 24, 22, 45], target=76
Output:
| [
"[]"
] | task1087-04cdb280c2b7448c9d51a8225fa8700a |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [12, 25, 42, 28, 41, 20, 2, 22, 27, 33, 24, 9, 35, 47, 32, 39, 45, 36, 14, 31], target=53
Output:
| [
"[25, 28]",
"[28, 25]",
"[12, 41]",
"[41, 12]",
"[20, 33]",
"[33, 20]",
"[39, 14]",
"[14, 39]",
"[22, 31]",
"[31, 22]"
] | task1087-8dd9013200d449eaad76723d8d3f29a3 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [12, 42, 19, 39, 30, 16, 48, 7, 4, 47, 43, 18, 6, 11, 21, 20, 32, 22, 25, 5], target=39
Output:
| [
"[18, 21]",
"[21, 18]",
"[19, 20]",
"[20, 19]",
"[7, 32]",
"[32, 7]"
] | task1087-05bc668d09a044879160873751d619fa |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [33, 13, 6, 40, 23, 3, 49, 10, 30, 8, 31, 38, 15, 5, 20, 9, 16, 19, 45, 12], target=25
Output:
| [
"[10, 15]",
"[15, 10]",
"[5, 20]",
"[20, 5]",
"[9, 16]",
"[16, 9]",
"[6, 19]",
"[19, 6]",
"[13, 12]",
"[12, 13]"
] | task1087-6098a6adbc5e411fac9ac555a613e4b2 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [1, 11, 10, 31, 32, 7, 21, 42, 12, 6, 49, 5, 27, 26, 34, 2, 8, 46, 22, 24], target=14
Output:
| [
"[12, 2]",
"[2, 12]",
"[6, 8]",
"[8, 6]"
] | task1087-1eceffc67e8c4caabc49e7d4e8eaa39c |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [45, 32, 24, 6, 38, 10, 20, 30, 46, 44, 48, 9, 29, 22, 1, 12, 42, 27, 37, 43], target=83
Output:
| [
"[45, 38]",
"[38, 45]",
"[46, 37]",
"[37, 46]"
] | task1087-eb84bf776aa44434b1825e8fe50b21f5 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [26, 15, 9, 47, 40, 46, 8, 6, 17, 41, 35, 11, 24, 32, 14, 39, 33, 31, 37, 7], target=63
Output:
| [
"[46, 17]",
"[17, 46]",
"[24, 39]",
"[39, 24]",
"[32, 31]",
"[31, 32]",
"[26, 37]",
"[37, 26]"
] | task1087-8fb30250f8b74ed7bd9aa849540b6a15 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [29, 19, 1, 30, 28, 46, 15, 16, 23, 13, 42, 44, 32, 8, 40, 14, 6, 41, 3, 18], target=46
Output:
| [
"[30, 16]",
"[16, 30]",
"[32, 14]",
"[14, 32]",
"[40, 6]",
"[6, 40]",
"[28, 18]",
"[18, 28]"
] | task1087-8671176968c7465ebc4ea5bf963d1605 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [20, 34, 39, 26, 35, 12, 13, 27, 44, 38, 49, 32, 28, 42, 18, 25, 22, 2, 8, 37], target=84
Output:
| [
"[35, 49]",
"[49, 35]"
] | task1087-f9bc9e8516b1497997db795fd281fb3b |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [16, 29, 33, 43, 35, 47, 21, 18, 37, 4, 28, 32, 11, 48, 20, 5, 9, 2, 13, 46], target=37
Output:
| [
"[16, 21]",
"[21, 16]",
"[33, 4]",
"[4, 33]",
"[32, 5]",
"[5, 32]",
"[28, 9]",
"[9, 28]",
"[35, 2]",
"[2, 35]"
] | task1087-91d3ecb41b2f4057a94344f171122e36 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [24, 39, 27, 26, 28, 12, 20, 36, 34, 35, 6, 1, 25, 42, 15, 33, 8, 2, 21, 4], target=80
Output:
| [
"[]"
] | task1087-f7e5b80f43c64fc1ae3335552b68d547 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [9, 30, 31, 16, 32, 11, 20, 35, 25, 1, 3, 46, 29, 19, 10, 41, 49, 39, 15, 27], target=28
Output:
| [
"[25, 3]",
"[3, 25]",
"[9, 19]",
"[19, 9]",
"[1, 27]",
"[27, 1]"
] | task1087-a8079aacc9394de3a2fb8c22baeb8191 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [8, 34, 44, 22, 20, 41, 49, 46, 18, 13, 47, 11, 15, 38, 42, 3, 48, 17, 4, 14], target=18
Output:
| [
"[15, 3]",
"[3, 15]",
"[4, 14]",
"[14, 4]"
] | task1087-3c4ef113dd2e423f8e81e482481e6f52 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [1, 15, 40, 9, 48, 19, 39, 38, 2, 42, 14, 29, 27, 30, 20, 41, 32, 47, 35, 33], target=72
Output:
| [
"[42, 30]",
"[30, 42]",
"[40, 32]",
"[32, 40]",
"[39, 33]",
"[33, 39]"
] | task1087-264c0a76a93944429dbb56e37127b731 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [23, 32, 14, 10, 1, 28, 41, 45, 11, 35, 39, 6, 15, 7, 37, 33, 42, 26, 4, 2], target=11
Output:
| [
"[10, 1]",
"[1, 10]",
"[7, 4]",
"[4, 7]"
] | task1087-50455cb22de94736b3788723c09f67b5 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [29, 18, 9, 39, 28, 42, 7, 1, 30, 22, 38, 47, 5, 2, 41, 11, 33, 12, 14, 4], target=99
Output:
| [
"[]"
] | task1087-445d6926ea6047d0a85b7e92bd4c9b5b |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [10, 44, 42, 29, 17, 19, 39, 38, 35, 6, 11, 14, 40, 41, 47, 12, 22, 2, 15, 34], target=20
Output:
| [
"[6, 14]",
"[14, 6]"
] | task1087-3670f600dfef4334a800aecbe8e318a3 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [45, 13, 46, 43, 35, 5, 19, 11, 3, 39, 20, 41, 6, 49, 33, 28, 38, 2, 27, 23], target=41
Output:
| [
"[35, 6]",
"[6, 35]",
"[13, 28]",
"[28, 13]",
"[3, 38]",
"[38, 3]",
"[39, 2]",
"[2, 39]"
] | task1087-05bcf558f8a8402caccba84fa8843ca7 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [38, 44, 45, 4, 43, 40, 41, 42, 48, 10, 32, 3, 47, 20, 17, 28, 31, 34, 27, 2], target=21
Output:
| [
"[4, 17]",
"[17, 4]"
] | task1087-5543dd7123114927b5602825d1bbbc61 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [39, 41, 1, 42, 18, 21, 32, 40, 35, 45, 4, 43, 28, 8, 16, 17, 29, 26, 23, 22], target=51
Output:
| [
"[43, 8]",
"[8, 43]",
"[35, 16]",
"[16, 35]",
"[28, 23]",
"[23, 28]",
"[29, 22]",
"[22, 29]"
] | task1087-150098b5eb6d4e8da9d18c9e7277b9c0 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [8, 46, 34, 18, 44, 31, 41, 40, 11, 24, 26, 19, 47, 27, 13, 9, 7, 36, 30, 20], target=51
Output:
| [
"[40, 11]",
"[11, 40]",
"[24, 27]",
"[27, 24]",
"[44, 7]",
"[7, 44]",
"[31, 20]",
"[20, 31]"
] | task1087-9160bdb519f34ad3a3cac6b308aaa7dd |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [36, 21, 35, 24, 5, 28, 44, 23, 40, 10, 29, 11, 8, 48, 20, 47, 37, 2, 22, 4], target=41
Output:
| [
"[36, 5]",
"[5, 36]",
"[21, 20]",
"[20, 21]",
"[37, 4]",
"[4, 37]"
] | task1087-6c26118803f14b628e8b2574c7fa83d3 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [13, 8, 21, 24, 11, 41, 7, 4, 45, 35, 30, 31, 34, 16, 26, 42, 18, 2, 20, 46], target=51
Output:
| [
"[21, 30]",
"[30, 21]",
"[35, 16]",
"[16, 35]",
"[31, 20]",
"[20, 31]"
] | task1087-99b1bdea03e64df7aab770f949c880ef |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [17, 22, 14, 32, 31, 47, 33, 25, 12, 24, 45, 3, 35, 41, 46, 34, 42, 30, 43, 19], target=47
Output:
| [
"[14, 33]",
"[33, 14]",
"[22, 25]",
"[25, 22]",
"[12, 35]",
"[35, 12]",
"[17, 30]",
"[30, 17]"
] | task1087-c1546c3857db48dc96b5c5af7260c3fd |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [29, 43, 24, 10, 27, 1, 16, 47, 48, 35, 13, 39, 33, 37, 23, 21, 9, 19, 3, 5], target=45
Output:
| [
"[29, 16]",
"[16, 29]",
"[10, 35]",
"[35, 10]",
"[24, 21]",
"[21, 24]"
] | task1087-741e58ba88b84e5cbf6d6c1b36eeb276 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [18, 11, 44, 20, 33, 38, 14, 21, 43, 9, 5, 42, 27, 29, 37, 25, 28, 3, 8, 49], target=48
Output:
| [
"[43, 5]",
"[5, 43]",
"[21, 27]",
"[27, 21]",
"[11, 37]",
"[37, 11]",
"[20, 28]",
"[28, 20]"
] | task1087-fa700c5ce60d4fa5ac88d08efc39ba89 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [13, 9, 7, 45, 39, 24, 4, 1, 48, 26, 35, 27, 32, 41, 34, 19, 25, 21, 33, 2], target=34
Output:
| [
"[7, 27]",
"[27, 7]",
"[9, 25]",
"[25, 9]",
"[13, 21]",
"[21, 13]",
"[1, 33]",
"[33, 1]",
"[32, 2]",
"[2, 32]"
] | task1087-fe5099e1f85b4e7c8181b3aab66ab23d |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [9, 27, 40, 16, 4, 10, 38, 1, 45, 23, 25, 31, 14, 21, 34, 36, 37, 28, 22, 33], target=18
Output:
| [
"[4, 14]",
"[14, 4]"
] | task1087-acd0533892494d23a8308c22dc1462c6 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [30, 41, 28, 8, 42, 4, 39, 16, 36, 33, 13, 32, 35, 34, 6, 49, 27, 29, 40, 44], target=28
Output:
| [
"[]"
] | task1087-9b8c60035322432aa27d8388034dc202 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [12, 49, 8, 37, 46, 10, 34, 32, 28, 3, 36, 25, 48, 38, 33, 45, 4, 2, 21, 43], target=64
Output:
| [
"[28, 36]",
"[36, 28]",
"[21, 43]",
"[43, 21]"
] | task1087-5b5ffa85ec3a49bba010d7a3b590b387 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [39, 17, 7, 41, 16, 40, 25, 18, 37, 38, 12, 42, 3, 26, 46, 6, 47, 30, 31, 48], target=35
Output:
| [
"[17, 18]",
"[18, 17]"
] | task1087-fd5f21ddb3484045832328ddb3d122b5 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [25, 44, 27, 49, 37, 33, 45, 15, 42, 6, 34, 31, 8, 14, 40, 23, 47, 32, 10, 9], target=92
Output:
| [
"[45, 47]",
"[47, 45]"
] | task1087-c745edc94c5445a48ba0527abbc4054e |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [4, 18, 3, 8, 29, 11, 39, 30, 24, 1, 40, 17, 21, 2, 32, 49, 15, 43, 16, 10], target=25
Output:
| [
"[24, 1]",
"[1, 24]",
"[8, 17]",
"[17, 8]",
"[4, 21]",
"[21, 4]",
"[15, 10]",
"[10, 15]"
] | task1087-176b7b1c905549878e4e252c75287840 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [22, 21, 11, 10, 9, 29, 8, 45, 36, 18, 4, 3, 26, 16, 30, 34, 44, 12, 15, 39], target=24
Output:
| [
"[21, 3]",
"[3, 21]",
"[8, 16]",
"[16, 8]",
"[9, 15]",
"[15, 9]"
] | task1087-23e6d11647c2472cbcf964f45ee81adb |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [16, 42, 44, 30, 20, 19, 12, 48, 21, 34, 5, 4, 46, 49, 25, 8, 9, 35, 28, 17], target=90
Output:
| [
"[42, 48]",
"[48, 42]",
"[44, 46]",
"[46, 44]"
] | task1087-bc119d301c2e4d6788de6c5f81992390 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [22, 37, 25, 43, 8, 26, 19, 35, 7, 42, 17, 23, 36, 3, 11, 40, 45, 4, 48, 29], target=78
Output:
| [
"[43, 35]",
"[35, 43]",
"[42, 36]",
"[36, 42]"
] | task1087-4aec103292494639ae704e35c094f653 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [43, 39, 41, 29, 42, 30, 36, 46, 8, 20, 19, 33, 21, 2, 14, 5, 1, 38, 49, 24], target=77
Output:
| [
"[41, 36]",
"[36, 41]",
"[39, 38]",
"[38, 39]"
] | task1087-ff786f6e85664e4dbf002d75238c895d |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [35, 6, 38, 9, 21, 1, 31, 13, 25, 28, 49, 26, 42, 37, 46, 14, 39, 15, 34, 30], target=36
Output:
| [
"[35, 1]",
"[1, 35]",
"[21, 15]",
"[15, 21]",
"[6, 30]",
"[30, 6]"
] | task1087-d473150a9d524e41a1bc6cc5b4b77337 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [37, 42, 45, 12, 29, 14, 35, 41, 16, 13, 40, 30, 9, 10, 34, 18, 3, 48, 25, 20], target=91
Output:
| [
"[]"
] | task1087-56084dbc78df4666a9c7469572c1958c |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [19, 4, 24, 14, 6, 18, 42, 5, 47, 16, 8, 28, 30, 32, 49, 3, 35, 9, 33, 27], target=19
Output:
| [
"[14, 5]",
"[5, 14]",
"[16, 3]",
"[3, 16]"
] | task1087-fe1745708c594e3ca5b45f7c25aaeaa6 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [47, 5, 4, 13, 8, 25, 39, 37, 26, 43, 18, 15, 31, 33, 35, 34, 44, 32, 9, 16], target=61
Output:
| [
"[43, 18]",
"[18, 43]",
"[26, 35]",
"[35, 26]"
] | task1087-fdb007d9416e49c299c49778d3009540 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [1, 28, 8, 31, 40, 30, 24, 34, 35, 37, 22, 45, 41, 11, 26, 47, 33, 27, 49, 18], target=24
Output:
| [
"[]"
] | task1087-d49f1ded588f4ad48dca7fe76c52a654 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [10, 33, 20, 46, 19, 6, 5, 45, 29, 2, 23, 42, 18, 24, 25, 36, 13, 15, 38, 8], target=32
Output:
| [
"[19, 13]",
"[13, 19]",
"[24, 8]",
"[8, 24]"
] | task1087-d2bbe770004147b99e0b9fb7dcae564a |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [45, 6, 5, 17, 23, 29, 20, 46, 30, 37, 13, 35, 38, 40, 36, 10, 49, 15, 44, 24], target=30
Output:
| [
"[17, 13]",
"[13, 17]",
"[20, 10]",
"[10, 20]",
"[6, 24]",
"[24, 6]"
] | task1087-43a6f57fe6a54e2a802b203093693378 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [17, 49, 23, 36, 29, 6, 13, 45, 5, 28, 24, 35, 44, 21, 37, 10, 2, 40, 43, 3], target=88
Output:
| [
"[45, 43]",
"[43, 45]"
] | task1087-751e5484e7644799a1961a5919a45a6f |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [8, 37, 11, 21, 18, 13, 7, 40, 29, 17, 2, 15, 39, 34, 27, 42, 16, 47, 33, 23], target=31
Output:
| [
"[18, 13]",
"[13, 18]",
"[29, 2]",
"[2, 29]",
"[15, 16]",
"[16, 15]",
"[8, 23]",
"[23, 8]"
] | task1087-60e9876af3d246cc9faffa29eddf7097 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [44, 48, 27, 36, 40, 13, 26, 12, 19, 45, 11, 31, 37, 9, 8, 10, 46, 24, 16, 43], target=71
Output:
| [
"[44, 27]",
"[27, 44]",
"[26, 45]",
"[45, 26]",
"[40, 31]",
"[31, 40]"
] | task1087-3573b76ff0b2496c9fc8e67b024972e1 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [38, 3, 32, 12, 26, 31, 28, 34, 8, 25, 17, 44, 35, 46, 23, 4, 14, 9, 36, 43], target=64
Output:
| [
"[38, 26]",
"[26, 38]",
"[28, 36]",
"[36, 28]"
] | task1087-ec8b5c89b19c41dda9b618ad3c82e852 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [16, 19, 21, 23, 15, 14, 4, 38, 41, 35, 27, 17, 43, 13, 34, 24, 31, 7, 20, 47], target=58
Output:
| [
"[23, 35]",
"[35, 23]",
"[41, 17]",
"[17, 41]",
"[15, 43]",
"[43, 15]",
"[34, 24]",
"[24, 34]",
"[27, 31]",
"[31, 27]",
"[38, 20]",
"[20, 38]"
] | task1087-7c879ea5cbea4ed68e0c08df892f67ca |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [11, 24, 23, 13, 6, 43, 8, 48, 28, 5, 4, 16, 49, 34, 27, 38, 47, 40, 37, 41], target=29
Output:
| [
"[23, 6]",
"[6, 23]",
"[24, 5]",
"[5, 24]",
"[13, 16]",
"[16, 13]"
] | task1087-2d23a7a61c334a87a33e40a203ac94dd |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [7, 31, 32, 11, 46, 40, 15, 9, 13, 45, 48, 44, 33, 6, 5, 27, 17, 43, 18, 42], target=56
Output:
| [
"[11, 45]",
"[45, 11]",
"[13, 43]",
"[43, 13]"
] | task1087-e7b344118c1746e4aeab03829498eda7 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [29, 10, 45, 19, 24, 21, 3, 25, 30, 11, 16, 44, 26, 17, 48, 31, 43, 12, 1, 34], target=41
Output:
| [
"[30, 11]",
"[11, 30]",
"[25, 16]",
"[16, 25]",
"[24, 17]",
"[17, 24]",
"[10, 31]",
"[31, 10]",
"[29, 12]",
"[12, 29]"
] | task1087-c3a76a7c1e0c4681bf1ad2f01f7961ef |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [14, 1, 34, 39, 17, 4, 37, 24, 15, 28, 8, 44, 3, 18, 20, 43, 30, 27, 7, 41], target=36
Output:
| [
"[28, 8]",
"[8, 28]"
] | task1087-8418cdab90b74ef59db23cfa86798693 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [9, 47, 4, 13, 43, 25, 27, 21, 40, 1, 31, 39, 29, 15, 11, 35, 23, 12, 26, 33], target=68
Output:
| [
"[43, 25]",
"[25, 43]",
"[47, 21]",
"[21, 47]",
"[39, 29]",
"[29, 39]",
"[35, 33]",
"[33, 35]"
] | task1087-0c588ee2b4794523a9049578051826b7 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [25, 16, 9, 26, 12, 36, 17, 5, 34, 2, 48, 3, 46, 49, 20, 10, 38, 27, 45, 21], target=26
Output:
| [
"[9, 17]",
"[17, 9]",
"[16, 10]",
"[10, 16]",
"[5, 21]",
"[21, 5]"
] | task1087-be9d2d7d99964ead8f6923a593a2767a |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [31, 24, 30, 42, 33, 26, 47, 29, 7, 16, 3, 39, 10, 6, 15, 49, 12, 19, 2, 18], target=59
Output:
| [
"[33, 26]",
"[26, 33]",
"[30, 29]",
"[29, 30]",
"[10, 49]",
"[49, 10]",
"[47, 12]",
"[12, 47]"
] | task1087-4bdc462854a64d77852acf72a2be5a6a |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [37, 6, 41, 27, 45, 25, 36, 5, 11, 21, 8, 43, 17, 35, 40, 2, 44, 4, 18, 24], target=35
Output:
| [
"[27, 8]",
"[8, 27]",
"[17, 18]",
"[18, 17]",
"[11, 24]",
"[24, 11]"
] | task1087-89cd47bba4ef493abdab810ef22a0576 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [35, 6, 11, 14, 7, 30, 45, 15, 37, 20, 21, 43, 13, 27, 17, 38, 31, 29, 22, 4], target=37
Output:
| [
"[7, 30]",
"[30, 7]",
"[20, 17]",
"[17, 20]",
"[6, 31]",
"[31, 6]",
"[15, 22]",
"[22, 15]"
] | task1087-52e3f1078f584be2816bd7d125a3bae2 |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [24, 29, 9, 12, 2, 18, 11, 7, 31, 6, 30, 14, 3, 41, 13, 33, 21, 47, 45, 4], target=22
Output:
| [
"[9, 13]",
"[13, 9]",
"[18, 4]",
"[4, 18]"
] | task1087-d7b8d6ead2d648dd8074853ae93ad7bf |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [42, 7, 8, 49, 34, 48, 36, 22, 21, 28, 23, 38, 47, 31, 27, 6, 4, 5, 1, 29], target=67
Output:
| [
"[36, 31]",
"[31, 36]",
"[38, 29]",
"[29, 38]"
] | task1087-15d6edb6810a4a919c8cb99dfe6f8cbb |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [28, 32, 16, 19, 36, 8, 13, 38, 25, 1, 15, 42, 29, 49, 39, 31, 20, 35, 30, 37], target=43
Output:
| [
"[28, 15]",
"[15, 28]",
"[1, 42]",
"[42, 1]",
"[8, 35]",
"[35, 8]",
"[13, 30]",
"[30, 13]"
] | task1087-1721f9f58a7b4ba0bdd119b6ad111a0d |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [34, 1, 31, 10, 35, 46, 36, 37, 7, 29, 48, 21, 17, 28, 6, 2, 11, 25, 30, 23], target=80
Output:
| [
"[34, 46]",
"[46, 34]"
] | task1087-38f4a35ffab947b3b9bd0870f7a72e4e |
Definition: You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
Positive Example 1 -
Input: [2,4,5,6,4,8,9,10], target=10
Output: [2,8]
Positive Example 2 -
Input: [2,4,5,6,4,8,9,10], target=12
Output: [2,10]
Negative Example 1 -
Input: [2,4,23,6,12,8,9,14], target=8
Output: [2,4]
Negative Example 2 -
Input: [1,5,23,10,12,22,15,24], target=80
Output: [23,22]
Now complete the following example -
Input: [7, 23, 17, 43, 36, 24, 2, 4, 29, 37, 42, 3, 44, 5, 41, 26, 21, 10, 35, 6], target=91
Output:
| [
"[]"
] | task1087-bff7c8e084d4445db75ed6db6681273e |
End of preview. Expand
in Dataset Viewer.
Dataset Card for Natural Instructions (https://github.com/allenai/natural-instructions) Task: task1087_two_number_sum
Additional Information
Citation Information
The following paper introduces the corpus in detail. If you use the corpus in published work, please cite it:
@misc{wang2022supernaturalinstructionsgeneralizationdeclarativeinstructions,
title={Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Tasks},
author={Yizhong Wang and Swaroop Mishra and Pegah Alipoormolabashi and Yeganeh Kordi and Amirreza Mirzaei and Anjana Arunkumar and Arjun Ashok and Arut Selvan Dhanasekaran and Atharva Naik and David Stap and Eshaan Pathak and Giannis Karamanolakis and Haizhi Gary Lai and Ishan Purohit and Ishani Mondal and Jacob Anderson and Kirby Kuznia and Krima Doshi and Maitreya Patel and Kuntal Kumar Pal and Mehrad Moradshahi and Mihir Parmar and Mirali Purohit and Neeraj Varshney and Phani Rohitha Kaza and Pulkit Verma and Ravsehaj Singh Puri and Rushang Karia and Shailaja Keyur Sampat and Savan Doshi and Siddhartha Mishra and Sujan Reddy and Sumanta Patro and Tanay Dixit and Xudong Shen and Chitta Baral and Yejin Choi and Noah A. Smith and Hannaneh Hajishirzi and Daniel Khashabi},
year={2022},
eprint={2204.07705},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2204.07705},
}
More details can also be found in the following paper:
@misc{brüelgabrielsson2024compressserveservingthousands,
title={Compress then Serve: Serving Thousands of LoRA Adapters with Little Overhead},
author={Rickard Brüel-Gabrielsson and Jiacheng Zhu and Onkar Bhardwaj and Leshem Choshen and Kristjan Greenewald and Mikhail Yurochkin and Justin Solomon},
year={2024},
eprint={2407.00066},
archivePrefix={arXiv},
primaryClass={cs.DC},
url={https://arxiv.org/abs/2407.00066},
}
Contact Information
For any comments or questions, please email Rickard Brüel Gabrielsson
- Downloads last month
- 2