Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Timeline for Greatest Common Divisor

Current License: CC BY-SA 3.0

11 events
when toggle format what by license comment
Jun 17, 2020 at 9:04 history edited Community Bot
Commonmark migration
Oct 4, 2016 at 14:44 history edited Morgan Thrapp CC BY-SA 3.0
deleted 91 characters in body
Oct 4, 2016 at 14:43 comment added Morgan Thrapp @mbomb007 I'll remove it. That rule didn't exist when I added that one.
Oct 4, 2016 at 14:38 comment added mbomb007 Built-ins for GCD and LCM are disallowed, so the 2nd solution wouldn't be valid.
Apr 7, 2016 at 18:16 comment added Morgan Thrapp @Sp3000 Thanks! I just finished a recursive solution, but that's even better than what I had.
Apr 7, 2016 at 18:15 history edited Morgan Thrapp CC BY-SA 3.0
deleted 16 characters in body
Apr 7, 2016 at 18:15 comment added Sp3000 While you're at it: g=lambda a,b:b and g(b,a%b)or a
Apr 7, 2016 at 18:12 comment added Morgan Thrapp @Sp3000 Nice, I didn't know they had moved it to math.
Apr 7, 2016 at 18:12 history edited Morgan Thrapp CC BY-SA 3.0
added 17 characters in body
Apr 7, 2016 at 18:11 comment added Sp3000 In Python 3.5+: from math import*;gcd
Apr 7, 2016 at 18:09 history answered Morgan Thrapp CC BY-SA 3.0

AltStyle によって変換されたページ (->オリジナル) /