Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
841 A班-许锘林 行李托运费-2 C++ 通过 100 1 MS 264 KB 260 2024-11-30 10:47:06

Tests(2/2):


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


测评信息: