提交时间:2024-11-30 10:57:14
运行 ID: 870
#include<bits/stdc++.h> using namespace std; int main(){ float x; cin>>x; if(x>=20) { cout<<setprecision(2)<<fixed<<1.98*x; } else { cout<<setprecision(2)<<fixed<<1.68*x; } }