Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
857 A班-岑思熠 行李托运费-2 C++ 通过 100 1 MS 264 KB 220 2024-11-30 10:51:48

Tests(2/2):


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


测评信息:

输入

                    

输出

                    

答案

                    

系统信息

exit code: 0, checker exit code: 0

输入

                    

输出

                    

答案

                    

系统信息

exit code: 0, checker exit code: 0