Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
128160 赵乘浩 拆分分数 Python3 Accepted 64 MS 3768 KB 173 2025-08-03 10:06:36

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))