| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 165094 | 屠思宇 | 08打车费用 | C++ | Accepted | 1 MS | 272 KB | 289 | 2026-11-09 20:08:20 |
#include<bits/stdc++.h> using namespace std; int main(){ double sumi=0,s; cin>>s; if (s<=2){ sumi+=6; } else if (s<=10){ sumi+=6+(s-2)*1.8; } else{ sumi+=6+8*1.8+(s-10)*1.8*1.5; } cout<<sumi<<endl; return 0; }