Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
883 A班-何泓霏 行李托运费-2 C++ 解答错误 0 0 MS 264 KB 223 2024-11-30 11:16:20

Tests(0/2):


#include<bits/stdc++.h> using namespace std; int main(){ float n; cin>>n; if(n<=20) { cout<<n*1.68<<endl; } else if(n>20) { cout<<n*1.98<<endl; } cout<<setprecision(2)<<fixed<<endl; return 0; }


测评信息: