input
stringlengths 564
564
| output
sequencelengths 1
1
| id
stringlengths 41
41
|
---|---|---|
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1405
Output:
| [
"0"
] | task1332-4eefd9a4473844d3bb293e087bdd79ed |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1009
Output:
| [
"0"
] | task1332-0693de9ddb694ccb8dde62d67b1ad649 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1920
Output:
| [
"1"
] | task1332-c62e98dfc1b540c7875bb834f1870248 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1557
Output:
| [
"0"
] | task1332-d534f34f163f4bf7a733cdf328aebe3d |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1348
Output:
| [
"1"
] | task1332-a10a514d0ad64909a269bf7ce055c72d |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1916
Output:
| [
"1"
] | task1332-445f288fc71a4218b70037360943da2e |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1228
Output:
| [
"1"
] | task1332-177e696f081e4709b94fc743c0eda270 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1661
Output:
| [
"0"
] | task1332-5bb851535b014464b978f7933bd5816a |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1684
Output:
| [
"1"
] | task1332-11c124f76e714ed7a1e7328eb5412925 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1884
Output:
| [
"1"
] | task1332-80fcb1b966514e8e928e9ef70b54613c |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1965
Output:
| [
"0"
] | task1332-53a7aa9e22594491b9f1ef51c2981117 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1229
Output:
| [
"0"
] | task1332-ef35e88b75ca4fdf9c88b7d6f2b20fb7 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1248
Output:
| [
"1"
] | task1332-619ee61eee9142668d7d834d84843dab |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1084
Output:
| [
"1"
] | task1332-f101d7366d4c451a96dd4cb6a3fbd872 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1176
Output:
| [
"1"
] | task1332-77615c789940475aa00e0738a1acd1fd |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1235
Output:
| [
"0"
] | task1332-1fabad8988c8483a97621213ff2c0c6c |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1632
Output:
| [
"1"
] | task1332-bd54a2e5b4fa47de9d1236710930790a |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1542
Output:
| [
"0"
] | task1332-cfca250c2a8c408eb5e711132a6c0b34 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1244
Output:
| [
"1"
] | task1332-9fcd79c9624e4940adca9dd46849deea |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1889
Output:
| [
"0"
] | task1332-120c7e51c2a84418b88766036e71bb69 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1506
Output:
| [
"0"
] | task1332-3e516d57164844e6bd5a3d4e539e3781 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1120
Output:
| [
"1"
] | task1332-b28af456be5e4052a6f9735aa14deaaa |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1508
Output:
| [
"1"
] | task1332-6cddf3f641df48d3a5d8c0c144ca369a |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1150
Output:
| [
"0"
] | task1332-06310eb6d87c49b28866a80ccd64fced |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1286
Output:
| [
"0"
] | task1332-f2137af7e56f4671bf1111e0dab9b13f |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1640
Output:
| [
"1"
] | task1332-619055f5b1894011a0fad6929630954f |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1516
Output:
| [
"1"
] | task1332-76690d8962934688a06a50bfc181eba6 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1979
Output:
| [
"0"
] | task1332-1ade5adc855d4affb4d97f1621e70945 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1840
Output:
| [
"1"
] | task1332-c9e8aad4c8c647d0842092385fb91126 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1441
Output:
| [
"0"
] | task1332-8769baeb59cc4ff9b56de99c32163a81 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1612
Output:
| [
"1"
] | task1332-e53441b4c2274715b445df78e06f6fd5 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1861
Output:
| [
"0"
] | task1332-b254a47d5d1a445eb785d2a4e9e39c29 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1190
Output:
| [
"0"
] | task1332-82011610b4c543d083967f8a9df89fff |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1744
Output:
| [
"1"
] | task1332-01356d1136c54da69106d28ca6e09eb6 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1743
Output:
| [
"0"
] | task1332-108ff0c3cbb14849936c3465e8e23ac9 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1156
Output:
| [
"1"
] | task1332-f0be24d5e5e2480480163e82544960ab |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1545
Output:
| [
"0"
] | task1332-3b32ede41f4c46ea960a6d79e8b189de |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1500
Output:
| [
"0"
] | task1332-8664946788f84769bbf6b06560541efb |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1731
Output:
| [
"0"
] | task1332-5fec7ca2e2964c178ee8d2dc2da86aba |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1488
Output:
| [
"1"
] | task1332-251cf6e4af884ae489b8269c6d242735 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1560
Output:
| [
"1"
] | task1332-d263a633daf04339a81d0cdb42e0d445 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1008
Output:
| [
"1"
] | task1332-b276c5c9f8a64e8faba7ac5ba2e09ebc |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1247
Output:
| [
"0"
] | task1332-8250c9a087734fce8b3048c55195ef4f |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1649
Output:
| [
"0"
] | task1332-ee97f2ea7c534527a0d9dc3105b967e9 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1529
Output:
| [
"0"
] | task1332-6e33d4126fdd4a8f8e6822aaeb3a5d5f |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1696
Output:
| [
"1"
] | task1332-20537c357ae448ba9cea6c6fe56d32cc |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1971
Output:
| [
"0"
] | task1332-ec948f64fbd443eebb71444d87d9b260 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1400
Output:
| [
"0"
] | task1332-5ad3cca4d6e04ed0b53a0d448bd4b2e0 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1142
Output:
| [
"0"
] | task1332-9d59d6f17a5a4848b77c601af386dae9 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1474
Output:
| [
"0"
] | task1332-269b44e6d18847bd89dee7fec4095b1e |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1957
Output:
| [
"0"
] | task1332-e720e88721f4419f80fb1587f10427b5 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1365
Output:
| [
"0"
] | task1332-7b5c2eb7196b4033af09b2ef19a22ce6 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1039
Output:
| [
"0"
] | task1332-cf71a6c96b4248bcace7826dd19526f5 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1564
Output:
| [
"1"
] | task1332-7dc4bc3633344d92b15cfdcbd6035bb3 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1552
Output:
| [
"1"
] | task1332-607c30a75b654f9d87b7dd42bc210f8b |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1929
Output:
| [
"0"
] | task1332-d0b9be428d984d5b9e75ea32332de29e |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1380
Output:
| [
"1"
] | task1332-90c47726530146e8919a599c5205a61e |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1208
Output:
| [
"1"
] | task1332-39cc3d44fc064d32a7f031c15c77b4cd |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1648
Output:
| [
"1"
] | task1332-be2857c4cc47417b92ef47664ae1a8e3 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1896
Output:
| [
"1"
] | task1332-e714ec6c324d4d6faa2cdfc8a3504ac0 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1549
Output:
| [
"0"
] | task1332-832fa0e749434ef79d3bddf4fc7c56d9 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1584
Output:
| [
"1"
] | task1332-92e4f390348d4a23a3143f49068a35b6 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1360
Output:
| [
"1"
] | task1332-5118afd97e154e198b594621675df830 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1830
Output:
| [
"0"
] | task1332-d1d7b139e36d4f27a967fb559f597c42 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1137
Output:
| [
"0"
] | task1332-66e9a776853a4b70bc9d7effd354ee97 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1040
Output:
| [
"1"
] | task1332-77100dff6d2943d083e0afea71d3fa6d |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1904
Output:
| [
"1"
] | task1332-5f1e19541d0748d28e9be0daa1bf219b |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1299
Output:
| [
"0"
] | task1332-80f38cf21fec4038a1a0499e5cdc2174 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1020
Output:
| [
"1"
] | task1332-077c5db67b914e0e83b6a778019981c1 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1303
Output:
| [
"0"
] | task1332-ab1a6a543ee84db5a5a69df631f19e41 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1948
Output:
| [
"1"
] | task1332-ac88c152cf1e4c32bae7aad007fa9f33 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1963
Output:
| [
"0"
] | task1332-5c27f7aada5647eca0a3d81b32597d5d |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1688
Output:
| [
"1"
] | task1332-695ca177faa0402c9d34275ca0a8a5e3 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1572
Output:
| [
"1"
] | task1332-794a5187214048b189e8b43fedd5bb61 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1856
Output:
| [
"1"
] | task1332-d3edc8b95829483bbf05b9a8bff9e07b |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1641
Output:
| [
"0"
] | task1332-bcc9d8236acb4a338f1c76eff72b491a |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1401
Output:
| [
"0"
] | task1332-06078e78b9b54e77b135af5f4e569cc1 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1558
Output:
| [
"0"
] | task1332-5d8f9be417ef445eb325c6cbdd77f9bc |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1480
Output:
| [
"1"
] | task1332-5b8963ebc26f40318d65a1901af10f2b |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1652
Output:
| [
"1"
] | task1332-86376120f16f4e37a20eb3f556ebc670 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1340
Output:
| [
"1"
] | task1332-73654d0fcddd4ba09eb714dbcabcf071 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1272
Output:
| [
"1"
] | task1332-7ae7d4fae9bd40aebd0233e8afbe5b76 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1712
Output:
| [
"1"
] | task1332-c55ee62e54284e85b3efe50c76983f2b |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1196
Output:
| [
"1"
] | task1332-f102727ffcc8470d87e41852e378d9a5 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1604
Output:
| [
"1"
] | task1332-876855b6888840bba467a24d383ee68b |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1807
Output:
| [
"0"
] | task1332-b268dc26cf2542b5a2819c3d01efef95 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1656
Output:
| [
"1"
] | task1332-07ba4558a989409fa48ba1ded606f032 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1760
Output:
| [
"1"
] | task1332-e54ed64657784cb88989ccd2223d43c9 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1533
Output:
| [
"0"
] | task1332-b46dcdba44184b40a80490ab5efb1a4d |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1804
Output:
| [
"1"
] | task1332-b0d845bd6a7044be994b76c4329cef53 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1528
Output:
| [
"1"
] | task1332-a067adcd2e83446bad1f91cfc8bb79d2 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1094
Output:
| [
"0"
] | task1332-4a47d1a10d3e42e8b69ecd563c68d7cc |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1928
Output:
| [
"1"
] | task1332-538696b2c1da42b4aa5fec53b5905be9 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1155
Output:
| [
"0"
] | task1332-d2fab5468c5f40fba678aeabe2010a79 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1464
Output:
| [
"1"
] | task1332-3bdc28ffd7ba4169801f319901a6a16d |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1844
Output:
| [
"1"
] | task1332-4b661ce3c1044e3ba183c613bbbcee25 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1739
Output:
| [
"0"
] | task1332-714cdc67795b4cd28d2759c90df4405b |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1264
Output:
| [
"1"
] | task1332-c92ae545535b4459b9c7a04b351e58d4 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1044
Output:
| [
"1"
] | task1332-eb4fc61b443047b9befdd7b609ceee70 |
Definition: In this task, you are given a year. You need to check if it is a leap year or not. A year may be a leap year if it is evenly divisible by 4. Years that are divisible by 100 (century years such as 1900 or 2000) cannot be leap years unless they are also divisible by 400. Return 1 if it is a leap year, else return 0.
Positive Example 1 -
Input: 1644
Output: 1
Positive Example 2 -
Input: 2021
Output: 0
Negative Example 1 -
Input: 1234
Output: 0
Negative Example 2 -
Input: 1443
Output: 1
Now complete the following example -
Input: 1900
Output:
| [
"0"
] | task1332-cbca5fa2b3414a169302d7bf82d45100 |
End of preview. Expand
in Dataset Viewer.
Dataset Card for Natural Instructions (https://github.com/allenai/natural-instructions) Task: task1332_check_leap_year
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
- 49