| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 138430 | 杨浩宇 | 08打车费用 | C++ | Accepted | 0 MS | 276 KB | 218 | 2025-11-24 17:20:04 |
#include <iostream> using namespace std; int main() { int a,b,c; cin>>a; if(a<=2) { cout<<"6"; } else if(a<=10) { b=a-2; cout<<6+1.8*b; } else{ b=8; c=a-10; cout<<6+1.8*8+c*2.7; } }