Skip to content
Snippets Groups Projects
Select Git revision
  • b555e93e8b80a95989210cdd546e0327ccfcb4c6
  • master default protected
2 results

init.sh

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)