Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
4167 D班-陈颖钧 短信计费 C++ 解答错误 0 1 MS 272 KB 306 2025-01-05 16:20:59

Tests(0/5):


#include<bits/stdc++.h> using namespace std; int main(){ int n,a,i; double b=0; cin>>n; for(i=1;i<=n;i++){ cin>>a; if(a%70==0&&a>70||a%70!=0&&a>70){ b+=a/70+1; }else{ b++; } } cout<<setprecision(1)<<fixed<<b*0.1; }


测评信息:

输入

94
368
870
914
138
136
836
912
457
540
97
539
926
264
12
117
141
385
989
326
974
384
589
889
635
959
636
277
694
891
754
122
544
221
49
137
866
271
171
686
744
705
162
819
166
908
256
848
446
701
620

输出

78.3

答案

78.1

系统信息

exit code: 0, checker exit code: 0