Skip to content
Snippets Groups Projects
Select Git revision
  • 697855c0db9703b0523ccd8fe7cd7b8e51e5678b
  • jk default protected
2 results

osd-clock

Blame
  • euklides-trikovy.py 176 B
    #!/usr/bin/env python3
    # Největší společný dělitel: Euklidův algoritmus s pár triky navíc
    
    x = int(input())
    y = int(input())
    
    while y > 0:
        x, y = y, x%y
    
    print(x)