| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 87094 | 丁俊杰 | 短信计费 | Python3 | Accepted | 90 MS | 3784 KB | 419 | 2024-08-03 21:29:40 |
def duanxin_shuliang(n): results=[] for x in range(n): a=int(input()) results.append(a) return results def feiyong(results): cnt=0 for result in results: if result%70!=0: a=result//70+1 else: a=result//70 cnt+=a*0.1 return "{:.1f}".format(cnt) n=int(input()) z=duanxin_shuliang(n) print(feiyong(z))