| Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|---|
| 57701 | 巫子悦 | 【选】邮费计算 | Python3 | 通过 | 100 | 41 MS | 4472 KB | 220 | 2025-06-03 15:17:20 |
weight = int(input()) urgent = input().strip() base = 8 if weight > 1000: over = weight - 1000 units = (over + 499) // 500 base += units * 4 total = base + (5 if urgent == 'y' else 0) print(total)