| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 128153 | 潘允晨 | 拆分分数 | Python3 | Wrong Answer | 56 MS | 3756 KB | 172 | 2025-08-03 10:00:45 |
k=int(input()) for x in range(k+1,2*k+1): if x-k==0 or k*x%(x-k)>0: continue y=k*x//(x-k) if y >0: print('1/{}=1/{}+1/{}'.format(k,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