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: 1678
Output:
| [
"0"
] | task1332-71f12d5ef90c4bb4b298c94c5e9493d6 |
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: 1724
Output:
| [
"1"
] | task1332-2af0a5f3ce1b4ff6995dd9e450d98ded |
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: 1013
Output:
| [
"0"
] | task1332-ef35ea7711064bf89022727b917e7fdf |
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: 1737
Output:
| [
"0"
] | task1332-4eadc1805c8548f5aa684e0bf909d37e |
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: 1526
Output:
| [
"0"
] | task1332-5cca12de2bf74e8b9031f94f88d6d08b |
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: 1436
Output:
| [
"1"
] | task1332-82af34714b454c218bb5dda0e107f6d2 |
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: 1310
Output:
| [
"0"
] | task1332-e435d6642af74bb8ba838177c5c33b18 |
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: 1424
Output:
| [
"1"
] | task1332-a554bdafd6fb4940bc57f982467bf748 |
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: 1984
Output:
| [
"1"
] | task1332-d2eaffa1a2a44925aab6292ce22c3bbf |
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: 1766
Output:
| [
"0"
] | task1332-f59551450e1e42d49eb2daa745e6413d |
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: 1045
Output:
| [
"0"
] | task1332-fdb118b280f14d1f91750a4ed5d98662 |
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: 1415
Output:
| [
"0"
] | task1332-6cbd4af30ae441c282309999e8566f38 |
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: 1820
Output:
| [
"1"
] | task1332-293fc7ced7c74615bc816b5a39bad348 |
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: 1344
Output:
| [
"1"
] | task1332-4a54351cd3e04682a99cf81c13353bc7 |
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: 1748
Output:
| [
"1"
] | task1332-a32bbbd79cf04f6dae1bc0e8d69700c1 |
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: 1939
Output:
| [
"0"
] | task1332-f72cd270e55c47399e4c51aca6bb9374 |
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: 1610
Output:
| [
"0"
] | task1332-e2d2e1fd0bc04d9db4dce4963e6464bc |
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: 1772
Output:
| [
"1"
] | task1332-5954d40ff8d84a17a37a2104b93ff475 |
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: 1056
Output:
| [
"1"
] | task1332-e21db7802f224f5cab523a4d1ef0ea5d |
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: 1544
Output:
| [
"1"
] | task1332-6a7f67c155d945b6b16df4e63d71370a |
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: 1373
Output:
| [
"0"
] | task1332-09aa7fbee63d4643aedd08995a84e19b |
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: 1329
Output:
| [
"0"
] | task1332-36b3dfff17b74b58a5dc4a1a05856ed8 |
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: 1964
Output:
| [
"1"
] | task1332-4ec7e6ee21b341839d2e0efce0f2099f |
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: 1463
Output:
| [
"0"
] | task1332-86bec23975af40088147dc5ae7929c39 |
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: 1253
Output:
| [
"0"
] | task1332-77b903d263154a06b7aeb52e4a833810 |
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: 1284
Output:
| [
"1"
] | task1332-1040f246099e4048bd2dbe3c9228a58f |
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: 1906
Output:
| [
"0"
] | task1332-1a3a01cae0b040529387cbb93e10368c |
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: 1740
Output:
| [
"1"
] | task1332-80c3af3c389c45afa3bd167540b72d51 |
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: 1664
Output:
| [
"1"
] | task1332-d2f5da1a3ef647ffa8ba6491bce76477 |
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: 1943
Output:
| [
"0"
] | task1332-86353f9608c5420bbcf24927e9ca2d29 |
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: 1220
Output:
| [
"1"
] | task1332-c7a17c37a9f5400c9fc60f73bbe3a98b |
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: 1810
Output:
| [
"0"
] | task1332-72f7b66a0f574602b17a9178d74883cb |
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: 1372
Output:
| [
"1"
] | task1332-1414a1f10ada4c81a279cc018aa2c160 |
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: 1018
Output:
| [
"0"
] | task1332-718feda656fd49acba2b0e8e97702ecf |
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: 1347
Output:
| [
"0"
] | task1332-03b284afea624c7992678e559593e772 |
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: 1496
Output:
| [
"1"
] | task1332-3a35bcdcb248448295b2a2219bfc4b45 |
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: 1868
Output:
| [
"1"
] | task1332-99469ab9918d41ed8631ffcd05398b9d |
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: 1268
Output:
| [
"1"
] | task1332-86fa3f4c157048598f1f1bd1c855cebb |
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: 1172
Output:
| [
"1"
] | task1332-25d3752a04fb4567957ab030508a3229 |
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: 1038
Output:
| [
"0"
] | task1332-5531ba9a2e954ffb80bb7fc9a9aab6ad |
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: 1793
Output:
| [
"0"
] | task1332-dd0a7c4c432d45059c25c84bc22a8c9e |
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: 1048
Output:
| [
"1"
] | task1332-b451de32de414dba8ff5eb4481dfacbd |
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: 1280
Output:
| [
"1"
] | task1332-29486afa0c8647219a57ab3e1571ab21 |
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: 1620
Output:
| [
"1"
] | task1332-7b35f4887b5a4f79bd14fa84a42de39e |
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: 1212
Output:
| [
"1"
] | task1332-efc8b050161142f68818f7b2c77a5ad7 |
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: 2000
Output:
| [
"1"
] | task1332-f415e8dcb33944a0aa8e9f2646e08732 |
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: 1903
Output:
| [
"0"
] | task1332-c06643aaa0d74cfe977608b0be9843ef |
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: 1171
Output:
| [
"0"
] | task1332-13129789d88b4fa8b665b9b68550d4e1 |
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: 1800
Output:
| [
"0"
] | task1332-b66eff5da6f34e47b70f8d588c84a108 |
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: 1490
Output:
| [
"0"
] | task1332-9661989134694bd1b00c62c22e84d9eb |
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: 1479
Output:
| [
"0"
] | task1332-efac03e72e084e8b9bfd3c146a316d9f |
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: 1829
Output:
| [
"0"
] | task1332-813b76ab494a463da49f4cf82855c54a |
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: 1933
Output:
| [
"0"
] | task1332-40548f1096e644b894bc2c5fb0734411 |
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: 1646
Output:
| [
"0"
] | task1332-7264354b37bf4f0ab3655786414ad27e |
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: 1195
Output:
| [
"0"
] | task1332-d158d166a27a49a28ae51e1ed33a7a5d |
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: 1524
Output:
| [
"1"
] | task1332-51c4718f79fa480f9bc920b69b3d2ad2 |
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: 1776
Output:
| [
"1"
] | task1332-9ea4b8e186aa4dd2a9c7781b224396d3 |
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: 1792
Output:
| [
"1"
] | task1332-61240a866ca148ca807fe430b9bf80bb |
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: 1980
Output:
| [
"1"
] | task1332-5ab2fcf78fd34e20bca1099ee7304700 |
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: 1334
Output:
| [
"0"
] | task1332-c7f28532168e4348a4ac7b7e8f4e7f94 |