Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
6
Task/Leap-year/Sidef/leap-year-1.sidef
Normal file
6
Task/Leap-year/Sidef/leap-year-1.sidef
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
func isleap(year) {
|
||||
if (year %% 100) {
|
||||
return (year %% 400);
|
||||
}
|
||||
return (year %% 4);
|
||||
}
|
||||
1
Task/Leap-year/Sidef/leap-year-2.sidef
Normal file
1
Task/Leap-year/Sidef/leap-year-2.sidef
Normal file
|
|
@ -0,0 +1 @@
|
|||
func isleap(year) { year %% 100 ? (year %% 400) : (year %% 4) };
|
||||
Loading…
Add table
Add a link
Reference in a new issue