Hiệu BCNNvà UCLN

View as PDF

Submit solution

Points: 5.00 (partial)
Time limit: 1.0s
Memory limit: 1G
Input: stdin
Output: stdout

Author:
Problem type
Allowed languages
C, C++, GAS64, Pascal, Perl, PHP, Python, Sed, TCL, Text

Cho hai số nguyên dương ab , hãy in ra hiệu của BCNN và UCLN của 2 số đó.

Ví dụ:
Input:
Copy
2 4
Output :
Copy
2

Comments

Please read the guidelines before commenting.