Submit solution
Points:
100.00 (partial)
Time limit:
1.0s
Memory limit:
512M
Input:
stdin
Output:
stdout
Problem type
Allowed languages
Python, Scratch
In case the statement didn't load correctly, you can download the statement here: Statement
Comments
cũng ez
??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
Dùng module fractions
quá dễ
Bài hơi khó
dùng module fractions rồi dùng 1 list chứa 3 integer rồi lấy tử cộng mẫu, tử là số nhỏ nhất, mẫu là lớn nhất, phân số dưới dạng tối giản. cảm ơn phannamkhang123 vì đã chỉ ra phân số nhỏ nhất
mẫu số là số lớn nhất, tử số là số nhỏ nhất. Bước rút gọn thì hơi khó, tùy người khác nhau