Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
150845 吴天辰 08打车费用 C++ Wrong Answer 1 MS 272 KB 250 2026-04-01 14:46:02

Tests(2/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ double v=0; double x,m=0; cin>>x; if(x<=2){ cout<<6; } if(x<=10&&x>2){ m=1.8*(x-2)+6; cout<<m; } if(x>=10){ v=2.7*(x-10)+1.8*(x-10-2)+6; cout<<v; } return 0; }


Run Info:

------Input------
22
------Answer-----
52.8
------Your output-----
56.4