提交时间:2025-07-07 15:46:01
运行 ID: 328847
#include<iostream> using namespace std; int main(){ double x,y=0; cin>>x; if(x<=15){ y+=x*6; } else if(x>15){ y+=15*6+(x-15)*9; } cout<<y<<endl; }