提交时间:2024-01-23 16:34:45
运行 ID: 125217
#include<bits/stdc++.h> using namespace std; int main() { double x,y; cin>>x; if(x<1){ y=x; cout<<y; }else if(x>=1&&x<10){ y=2*x-1; cout<<y; }else{ y=3*x-11; cout<<y; } }