Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
116817 | 李林叡 | 08打车费用 | C++ | Wrong Answer | 0 MS | 272 KB | 193 | 2025-04-12 16:18:12 |
#include<bits/stdc++.h> using namespace std; int main(){ int A; cin>>A; if(A<=2) cout<<"6"; if(A<=10&&A>2) cout<<6+(A-2)*1.8; if(A>10) cout<<6+(10-2) *1.8+(A-10)*27; return 0; }
------Input------
22
------Answer-----
52.8
------Your output-----
344.4