Data update
This commit is contained in:
parent
52a6ef48dd
commit
157b70a810
604 changed files with 14253 additions and 2100 deletions
|
|
@ -0,0 +1,9 @@
|
|||
int local fn gcd_rec( a as int, b as int )
|
||||
if ( b == 0 ) then return a
|
||||
end fn = fn gcd_rec(b, a % b)
|
||||
|
||||
int def fn lcm( a as int, b as int ) = abs(a * b) / fn gcd_rec(a, b)
|
||||
|
||||
print fn lcm(12,18)
|
||||
|
||||
HandleEvents
|
||||
Loading…
Add table
Add a link
Reference in a new issue