Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
343503 李明灿 【C1-9】乘车费用 C++ 通过 100 2 MS 248 KB 215 2025-08-27 19:05:14

Tests(3/3):


#include<bits/stdc++.h> using namespace std; int n; double r=0; int main(){ cin>>n; if(n>3){ r=(n-3)*2.3+14; cout<<fixed<<setprecision(0)<<1.0*r; }else{ cout<<"14"; } return 0; }


测评信息: