| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 67120 | 胡海峰老师 | 短信计费 | Python3 | Accepted | 86 MS | 3780 KB | 221 | 2024-03-14 16:58:37 |
def cost(words): res = 0.1* (words//70) if words%70>0: res += 0.1 return res n = int(input()) ans =0 for x in range(n): w = int(input()) ans += cost(w) print("{:.1f}".format(ans))