Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
145057 吴昊 08打车费用 C++ Accepted 1 MS 272 KB 260 2026-01-24 20:30:26

Tests(10/10):


Code:

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