提交时间:2024-11-30 10:59:26
运行 ID: 872
#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; } }