| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 146284 | 潘佳慧 | 14小鱼游泳 | Python3 | Accepted | 39 MS | 3784 KB | 312 | 2026-01-27 21:02:24 |
x,n=map(int,input().split()) if 1<=x <=6: if (n-8+x)%7==6: m=250*(6-x)+(n-8+x)//7*5*250+5*250 else: m=250*(6-x)+(n-8+x)//7*5*250+(n-8+x)%7*250 elif x==7: if (n-8+x)%7==6: m=0+(n-8+x)//7*5*250+5*250 else: m=0+(n-8+x)//7*5*250+(n-8+x)%7*250 print(m)