Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
67156 展博 短信计费 Python3 Accepted 70 MS 3776 KB 203 2024-03-14 19:13:37

Tests(10/10):


Code:

def tc(word): cost=word//70*0.1 if word%70!=0: cost+=0.1 return cost n=int(input()) a=0 for i in range(n): word=int(input()) a=a+tc(word) print('{:.1f}'.format(a))