Editorial for Làm (việc) nước
Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.
Submitting an official solution before solving the problem yourself is a bannable offence.
Chúng ta lần lượt tính đáp án của các phép tính \(a+b, a-b, a\times b\) và \(\frac{a}{b}\), rồi sắp xếp chúng.
Python:
Python
a, b = map(int, input().split())
freeze = [a+b, a-b, a*b, a/b]
freeze.sort()
for i in freeze: print(format(i, ".6f"))
Comments