| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 138411 | qsy | 08打车费用 | C++ | Wrong Answer | 1 MS | 272 KB | 229 | 2025-11-24 17:16:30 |
#include <iostream> using namespace std; int main(){ double a,b; cin>>a; if(a<=2){ cout<<"6"; }else if(a<=10){ b=a-2; a=1.8*b+6; cout<<a; }else{ b=a-10; a=a-12; a=2.7*b+1.8*a+6; cout<<a; } }
------Input------
22
------Answer-----
52.8
------Your output-----
56.4