| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 150093 | 李沐阳 | 08打车费用 | C++ | Wrong Answer | 1 MS | 272 KB | 244 | 2026-03-22 11:05:11 |
#include<bits/stdc++.h> using namespace std; int main() { double b; cin>>b; if(b>10){ cout<<6+(b-10)*1.8+(b-10)*1.8*1.5<<endl; } else if(b<=10&&b>2){ cout<<(b-2)*1.8+6<<endl; } else{ cout<<6<<endl; } return 0; }
------Input------
22
------Answer-----
52.8
------Your output-----
60