Run ID:150093

提交时间:2026-03-22 11:05:11

#include<bits/stdc++.h> using namespace std; int main() { double b; cin>>b; if(b>10){ cout<<6+(b-10)*1.8+(b-10)*1.8*1.5<<endl; } else if(b<=10&&b>2){ cout<<(b-2)*1.8+6<<endl; } else{ cout<<6<<endl; } return 0; }