| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 164447 | 屠思宇 | 【基础题】邮件收费 | C++ | Accepted | 1 MS | 272 KB | 247 | 2026-11-03 18:53:05 |
#include<bits/stdc++.h> using namespace std; int main(){ double w,cost; cin>>w; if (w<=1){ cost=1.5; } else{ cost=1.5*w+(w-1)*0.8; } cout<<fixed<<setprecision(1)<<cost<<endl; return 0; }