Leap Year
Submit
Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.
Problem
In the Gregorian calendar, a leap year is created by extending February to 29 days in order to keep the calendar year synchronized with the astronomical year. These longer years occur in years which are multiples of 4, with the exception of centennial years that aren’t multiples of 400.
Write a program to print all the leap years from the year 2000 up to n.
The inputted name must be your team name
and the lnaguage must be python3
We hope you have fun
Options
rejudge feature is enabled
now post-mortem time, all source codes will be revealed
Sample input:_
2040
Sample output:
2000
2004
2008
2012
2016
2020
2024
2028
2032
2036
2040
Sample input:_
2080
Sample output:
2000
2004
2008
2012
2016
2020
2024
2028
2032
2036
2040
2044
2048
2052
2056
2060
2064
2068
2072
2076
2080
Sample input:_
2222
Sample output:
2000
2004
2008
2012
2016
2020
2024
2028
2032
2036
2040
2044
2048
2052
2056
2060
2064
2068
2072
2076
2080
2084
2088
2092
2096
2104
2108
2112
2116
2120
2124
2128
2132
2136
2140
2144
2148
2152
2156
2160
2164
2168
2172
2176
2180
2184
2188
2192
2196
2204
2208
2212
2216
2220
Ranking
Rank | User | Size | Time | Date | Statistics |
---|
1 | test1 | 39 | 0.0441 | 2021/02/28 04:01:07 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | McBusLuck | 56 | 0.1341 | 2021/02/28 06:09:46 | 0B / 33B / 22B |
2 | Internal Server Error | 67 | 0.1395 | 2021/02/28 07:25:45 | 0B / 40B / 24B |
3 | Prajwal Adsul | 76 | 0.1341 | 2021/02/28 04:26:08 | 0B / ?B / ?B |
4 | LeoCode | 76 | 0.1345 | 2021/02/28 04:32:55 | 0B / ?B / ?B |
5 | BugCreators | 82 | 0.1359 | 2021/02/28 02:55:31 | 0B / ?B / ?B |
6 | Noobros | 87 | 0.1343 | 2021/02/28 02:52:54 | 0B / ?B / ?B |
7 | _ | 88 | 0.1363 | 2021/02/28 04:22:06 | 0B / ?B / ?B |
8 | Team Titans | 88 | 0.1547 | 2021/02/28 08:06:20 | 0B / ?B / ?B |
9 | phAyce | 131 | 0.1354 | 2021/02/28 00:42:07 | 0B / ?B / ?B |
10 | Noobros | 80 | 0.1398 | 2021/02/28 13:47:15 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 37 | 0.0430 | 2021/06/03 04:55:56 | 0B / 21B / 15B |
2 | Fleur | 46 | 0.0431 | 2021/06/02 23:13:59 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | whio | 17 | 0.2649 | 2021/03/10 05:31:12 | 7B / 7B / 3B |
Language Ranking_
Rank | Lang | User | Size | Score |
1 | gs2 | whio | 17 | 10000 |
2 | AWK | teebee | 37 | 4594 |
3 | Perl | test1 | 39 | 4358 |
4 | Perl6 | Hydrazer | 39 | 4358 |
5 | Postscript | zzo38(up to 2222) | 48 | 3541 |
6 | Python3 | McBusLuck | 56 | 3035 |
7 | C | zzo38(up to 2222) | 76 | 2236 |
8 | Python | Pi!=22/7 | 82 | 2073 |
return to the top page