Run ID:165446

提交时间:2026-11-15 14:46:31

#include<bits/stdc++.h> using namespace std; int main(){ double x,money; cin>>x; if (x<=3){ money=8; } else{ money=8+(x-3)*1.6; } cout<<fixed<<setprecision(1)<<money<<endl; return 0; }