题解 | #将真分数分解为埃及分数#
将真分数分解为埃及分数
https://www.nowcoder.com/practice/e0480b2c6aa24bfba0935ffcca3ccb7b
while True:
try:
string = input().split("/")
res = []
son = int(string[0])
mom = string[1]
while son >= 1:
res.append("1/" + mom)
son -= 1
print('+'.join(map(str,res)))
except:
break