Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Leap-year/PostScript/leap-year.ps
Normal file
10
Task/Leap-year/PostScript/leap-year.ps
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/isleapyear {
|
||||
dup dup
|
||||
4 mod 0 eq % needs to be divisible by 4
|
||||
exch
|
||||
100 mod 0 ne % but not by 100
|
||||
and
|
||||
exch
|
||||
400 mod 0 eq % or by 400
|
||||
or
|
||||
} def
|
||||
Loading…
Add table
Add a link
Reference in a new issue