提交时间:2024-11-30 10:47:06
运行 ID: 841
#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; }