KNTT10 - Trang 135 - Vận dụng 1

View as PDF

Points: 100 (p) Time limit: 1.0s Memory limit: 256M Input: stdin Output: stdout

Viết chương trình thực hiện:

  • Nhập hai số tự nhiên từ bàn phím cách nhau một khoảng trắng.
  • In ra UCLN của hai số.

Input

  • \(1\) dòng chứa \(2\) số tự nhiên.

Output

  • UCLN của \(2\) số.

Example

Test 1

Input
12 8
Output
4

Comments

There are no comments at the moment.