Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 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