Skip to content

Tìm UCLN làm sao phải có biến tam làm gì vậy bạn ???  #30

@m1nhn

Description

@m1nhn

Cbasic/struct/b1_phanso.cpp

Lines 156 to 164 in dbdf911

int ucln(int a, int b) {
int tam = 0;
while (a % b != 0)
{
tam = a % b;
a = b;
b = tam;
}
return b;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions