Sha256: 9e6ca822523930f75bc66fcb13569e4cf994abf943a8a6aecc5301bf64c428a0
Contents?: true
Size: 858 Bytes
Versions: 14
Compression:
Stored size: 858 Bytes
Contents
Tracing(1):gcd.rb:4 def gcd(a, b) Tracing(1):gcd.rb:18 gcd(3,5) Tracing(1):gcd.rb:6 if a > b Tracing(1):gcd.rb:6 if a > b Tracing(1):gcd.rb:10 return nil if a <= 0 Tracing(1):gcd.rb:10 return nil if a <= 0 Tracing(1):gcd.rb:12 if a == 1 or b-a == 0 Tracing(1):gcd.rb:12 if a == 1 or b-a == 0 Tracing(1):gcd.rb:15 return gcd(b-a, a) Tracing(1):gcd.rb:6 if a > b Tracing(1):gcd.rb:6 if a > b Tracing(1):gcd.rb:10 return nil if a <= 0 Tracing(1):gcd.rb:10 return nil if a <= 0 Tracing(1):gcd.rb:12 if a == 1 or b-a == 0 Tracing(1):gcd.rb:12 if a == 1 or b-a == 0 Tracing(1):gcd.rb:15 return gcd(b-a, a) Tracing(1):gcd.rb:6 if a > b Tracing(1):gcd.rb:6 if a > b Tracing(1):gcd.rb:10 return nil if a <= 0 Tracing(1):gcd.rb:10 return nil if a <= 0 Tracing(1):gcd.rb:12 if a == 1 or b-a == 0 Tracing(1):gcd.rb:12 if a == 1 or b-a == 0 Tracing(1):gcd.rb:13 return a
Version data entries
14 entries across 14 versions & 4 rubygems