提交时间:2024-11-30 11:16:20

运行 ID: 883

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