提交时间:2024-11-30 10:51:48

运行 ID: 857

#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; }