| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 149851 | 罗钰帆 | 08打车费用 | C++ | Wrong Answer | 1 MS | 272 KB | 437 | 2026-03-19 19:25:22 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ double a,j; cin>>a; j=1.8/2+1.8; a=a-2; if(a>=10){ a=(a-10)*j+11*1.8; } else{ a=a*1.8; } cout<<a+6; return 0; }
------Input------
0
------Answer-----
6
------Your output-----
2.4