Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
90599 | 徐文杰 | 08打车费用 | C++ | Wrong Answer | 1 MS | 272 KB | 277 | 2024-09-16 09:03:30 |
#include<iostream> using namespace std; int main(){ int a,d; double s,f,g; cin>>a; if(a>6){ s=1.8+1.8*0.5; d=10-2; f=d*1.8; d=a-10; g=s*d; cout<<6+f+g; } else{ cout<<"6"; } }
------Input------
4
------Answer-----
9.6
------Your output-----
6