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 ~a~ và ~b~ , hãy in ra hiệu của BCNN và UCLN của ~2~ số đó.

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

Loading...