Run ID:164447
提交时间:2026-11-03 18:53:05
#include<bits/stdc++.h> using namespace std; int main(){ double w,cost; cin>>w; if (w<=1){ cost=1.5; } else{ cost=1.5*w+(w-1)*0.8; } cout<<fixed<<setprecision(1)<<cost<<endl; return 0; }