| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 87046 | sh25_zhoumy | 短信计费 | C++ | 通过 | 0 MS | 248 KB | 345 | 2026-04-10 15:28:06 |
#include <iostream> #include <iomanip> using namespace std; int main() { int n; cin >> n; int total = 0; for (int i = 0; i < n; i++) { int len; cin >> len; total += (len + 69) / 70; } double money = total * 0.1; cout << fixed << setprecision(1) << money << endl; return 0; }