RosettaCodeData/Task/Long-year/J/long-year.j

4 lines
113 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
p =: 1 4 _100 400&(7 | [: <. +/ @: %~)"1 0
ily =: (4=p) +. 3=p@:<:
ply =: (#~ ily)@:([ + 1+i.@:-~)