| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 86700 | 李老师 | 短信计费 | C++ | Accepted | 1 MS | 276 KB | 239 | 2024-07-27 11:07:26 |
#include<iostream> #include<iomanip> #include<cmath> using namespace std; int main(){ int n,m; cin>>n; double s=0; for(int i=0;i<n;i++){ cin>>m; s+=ceil(m/70.0)*0.1; } cout<<fixed<<setprecision(1)<<s; return 0; }