| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 71275 | 张黄源 | 08打车费用 | C++ | Wrong Answer | 1 MS | 276 KB | 262 | 2024-04-21 16:30:21 |
#include<iostream> using namespace std; int main(){ double a,s=0; long long b; cin>>a>>b; if(a<=2){ s=s+11; } if(a>2&&a<=10){ s=s+11+1.8*(a-2); } if(a>10){ s=s+11+1.8*8+(a-10)*1.8*1.5; } s=s+b/3; printf("%.1lf",s); return 0; }
------Input------
4
------Answer-----
9.6
------Your output-----
1608984.6