Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
134159 赵乘浩 拆分分数 Python3 Accepted 54 MS 3780 KB 173 2025-10-25 21:32:48

Tests(20/20):


Code:

t=int(input()) for x in range(t+1,2*t+1): if x-t==0 or t*x%(x-t)>0: continue y=t*x//(x-t) if y>0: print('1/{} = 1/{} + 1/{}'.format(t,x,y))