Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
86586 丁俊杰 拆分分数 Python3 Wrong Answer 31 MS 3756 KB 178 2024-07-26 19:00:35

Tests(0/20):


Code:

k=int(input()) for x in range(k+1,2*k+1): #x最小取到k+1,最大取到2k y=x*k//(x-k) if x*k%(x-k)==0: print("1/{}=1/{}+1/{}".format(k,x,y))


Run Info:

------Input------
4
------Answer-----
1/4 = 1/5 + 1/20 1/4 = 1/6 + 1/12 1/4 = 1/8 + 1/8
------Your output-----
1/4=1/5+1/20 1/4=1/6+1/12 1/4=1/8+1/8