Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
159214 吴尔玉 08打车费用 C++ Accepted 1 MS 272 KB 228 2026-08-26 21:12:28

Tests(10/10):


Code:

#include<iostream> using namespace std; int main(){ double j,f; cin>>j; f=6.0; if(j>2&&j<10){ f=f+(j-2)*1.8; } else if(j>10){ f=f+8*1.8+(j-10)*2.7; } cout<<f; return 0; }