| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 39393 | C++|刘一阳 | 短信计费 | C++ | Accepted | 0 MS | 252 KB | 268 | 2024-02-01 14:54:51 |
#include<iostream> using namespace std; int main() { int n; double sum=0; cin>>n; while(n--){ int m; cin>>m; if(m<=70) sum+=0.1; else { if(m%70==0) sum+=0.1*(m/70); else sum+=0.1*(m/70)+0.1; } } printf("%.1lf",sum); return 0; }