Skip to content
Snippets Groups Projects
Select Git revision
  • e10258291d1e9af3dc85f403b28f0fc22fe20dd8
  • devel default
  • master
  • fo
  • jirka/typing
  • fo-base
  • mj/submit-images
  • jk/issue-96
  • jk/issue-196
  • honza/add-contestant
  • honza/mr7
  • honza/mrf
  • honza/mrd
  • honza/mra
  • honza/mr6
  • honza/submit-images
  • honza/kolo-vs-soutez
  • jh-stress-test-wip
  • shorten-schools
19 results

doc_org.html

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)