| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 50591 | 嵇锟 | 【选】邮费计算 | Python3 | Wrong Answer | 0 | 172 MS | 13528 KB | 220 | 2024-12-24 15:23:46 |
weight, choice = input().split() weight = int(weight) if weight <= 1000: fee = 8 else: extra_weight = weight - 1000 fee = 8 + (extra_weight + 499) // 500 * 4 if choice == "y": fee += 5 print(fee)