| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 128157 | 赵乘浩 | 拆分分数 | Python3 | Wrong Answer | 50 MS | 3772 KB | 169 | 2025-08-03 10:03:58 |
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))
------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