11 条题解

  • 1
    @ 2024-11-8 17:41:36

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

    信息

    ID
    26
    时间
    1000ms
    内存
    256MiB
    难度
    2
    标签
    递交数
    168
    已通过
    107
    上传者