Run ID:3165

提交时间:2024-04-12 23:01:37

#include<bits/stdc++.h> using namespace std; int main(){ int n,words[1500]; double expenses=0; scanf("%d",&n); for(int i=0,a;i<n;i++){ scanf("%d",&words[i]); expenses+=ceil((words[i]/70.0))*0.1; } printf("%.1lf",expenses); return 0; }