Rút gọn phân số

View as PDF

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

Bài 8: Rút gọn phân số

  • Mô tả: Cho phân số \(A/B\), hãy rút gọn về phân số tối giản.
  • Dữ liệu vào: \(1 \le A, B \le 10^9\).
  • Ví dụ: Vào 10 20 -> Ra 1 2.

Comments

Most recent
Loading comments...

There are no comments at the moment.