| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 144916 | c13 | 08打车费用 | C++ | Accepted | 0 MS | 272 KB | 206 | 2026-01-24 19:34:37 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; if(n<=2)cout<<6<<endl; else if(n>=2&&n<=10)cout<<6+1.8*(n-2); else cout<<6+1.8*(n-2)+0.9*(n-10); return 0; }