| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 159500 | 曾钰涵 | 08打车费用 | C++ | Accepted | 1 MS | 272 KB | 209 | 2026-09-04 18:40:16 |
#include<bits/stdc++.h> using namespace std; int main(){ double a; cin>>a; if(a<=2){ cout<<6; } else if(a<=10){ cout<<((a-2)*1.8)+6; } else { cout<<((1+0.5)*1.8)*(a-10)+8*1.8+6; } return 0; }